Closed Sir-Will closed 9 years ago
Also if I place it I get kicked first and if I reconnect then the server crashes.
[23:12:35 WARN]: Failed to handle packet for *******
java.lang.NullPointerException
> at com.github.abrarsyed.secretroomsmod.blocks.TileEntityCamo.func_145841_b(TileEntityCamo.java:63) ~[TileEntityCamo.class:?]
> at org.bukkit.craftbukkit.v1_7_R4.block.CraftBlockState.<init>(CraftBlockState.java:47) ~[CraftBlockState.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.05.210]
> at org.bukkit.craftbukkit.v1_7_R4.block.CraftBlockState.getBlockState(CraftBlockState.java:85) ~[CraftBlockState.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.05.210]
> at net.minecraftforge.event.world.BlockEvent$PlaceEvent.<init>(BlockEvent.java:150) ~[BlockEvent$PlaceEvent.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.05.210]
> at net.minecraftforge.event.ForgeEventFactory.onPlayerBlockPlace(ForgeEventFactory.java:59) ~[ForgeEventFactory.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.05.210]
> at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:544) ~[ForgeHooks.class:git-Cauldron-MCPC-Plus-1.7.10-1.1236.05.210]
> at net.minecraft.item.ItemStack.func_77943_a(ItemStack.java:149) ~[add.class:?]
> at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:489) ~[mx.class:?]
> at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:875) ~[nh.class:?]
> at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60) ~[jo.class:?]
> at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9) ~[jo.class:?]
> at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244) ~[ej.class:?]
> at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?]
> at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:980) [MinecraftServer.class:?]
> at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423) [lt.class:?]
> at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798) [MinecraftServer.class:?]
> at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658) [MinecraftServer.class:?]
> at java.lang.Thread.run(Thread.java:745) [?:1.7.0_72]
[23:12:35 INFO]: SirWilli lost connection: Internal server error
[23:12:35 ERROR]: A TileEntity type com.github.abrarsyed.secretroomsmod.blocks.TileEntityCamo has throw an exception trying to write state. It will not persist. Report this to the mod author
java.lang.NullPointerException
> at com.github.abrarsyed.secretroomsmod.blocks.TileEntityCamo.func_145841_b(TileEntityCamo.java:63) ~[TileEntityCamo.class:?]
> at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75820_a(AnvilChunkLoader.java:391) [aqk.class:?]
> at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75816_a(AnvilChunkLoader.java:218) [aqk.class:?]
> at net.minecraft.world.gen.ChunkProviderServer.func_73242_b(ChunkProviderServer.java:338) [ms.class:?]
> at net.minecraft.world.gen.ChunkProviderServer.func_73156_b(ChunkProviderServer.java:483) [ms.class:?]
> at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:254) [mt.class:?]
> at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:920) [MinecraftServer.class:?]
> at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423) [lt.class:?]
> at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798) [MinecraftServer.class:?]
> at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658) [MinecraftServer.class:?]
> at java.lang.Thread.run(Thread.java:745) [?:1.7.0_72]
Hi I have the exact same issue. I added the mod to the FTB Direwolf20 1.7 PACK
duplicate of #153
Version: secretroomsmod-1.7.10-4.7.1.376
Just placed a secret iron door and the server crashed: