Railcraft

Railcraft

34M Downloads

Personal Anchor crash if Refuel config is different from World Anchor

fabricator77 opened this issue ยท 1 comments

commented

Test in SSP only, unknown if a problem in SMP.

Railcraft 6.13.0 Minecraft 1.4.6 Forge 6.5.0.489

Placing PersonalAnchor block causes instant crash with the error below. The world also crashes on reloading.

I disabled PersonalAnchor by setting any config for it to either ID of 0 or false. The block still appears in inventory as unnamed, can still be placed to cause a crash, and still appears in world.

error log:
2013-01-03 06:22:46 [INFO] [STDERR] t: Ticking tile entity
2013-01-03 06:22:46 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:685)
2013-01-03 06:22:46 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:598)
2013-01-03 06:22:46 [INFO] [STDERR] at bdz.q(IntegratedServer.java:123)
2013-01-03 06:22:46 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
2013-01-03 06:22:46 [INFO] [STDERR] at fy.run(SourceFile:849)
2013-01-03 06:22:46 [INFO] [STDERR] Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
2013-01-03 06:22:46 [INFO] [STDERR] at railcraft.common.util.inventory.StandaloneInventory.a(StandaloneInventory.java:59)
2013-01-03 06:22:46 [INFO] [STDERR] at railcraft.common.blocks.machine.TileMachineItem.a(TileMachineItem.java:65)
2013-01-03 06:22:46 [INFO] [STDERR] at railcraft.common.blocks.machine.alpha.TileAnchorWorld.g(TileAnchorWorld.java:224)
2013-01-03 06:22:46 [INFO] [STDERR] at railcraft.common.blocks.machine.alpha.TileAnchorPersonal.g(TileAnchorPersonal.java:59)
2013-01-03 06:22:46 [INFO] [STDERR] at yc.h(World.java:2155)
2013-01-03 06:22:46 [INFO] [STDERR] at in.h(WorldServer.java:516)
2013-01-03 06:22:46 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:679)
2013-01-03 06:22:46 [INFO] [STDERR] ... 4 more
2013-01-03 06:22:46 [INFO] [STDOUT] Unloading Player: fabricator77
2013-01-03 06:22:46 [SEVERE] [ForgeModLoader] A TileEntity type railcraft.common.blocks.machine.alpha.TileAnchorPersonal has throw an exception trying to write state. It will not persist. Report this to the mod author
java.lang.RuntimeException: class railcraft.common.blocks.machine.alpha.TileAnchorPersonal is missing a mapping! This is a bug!
at any.b(TileEntity.java:106)
at railcraft.common.blocks.RailcraftTileEntity.b(RailcraftTileEntity.java:97)
at railcraft.common.blocks.machine.TileMachineItem.b(TileMachineItem.java:76)
at railcraft.common.blocks.machine.alpha.TileAnchorWorld.b(TileAnchorWorld.java:378)
at aam.a(AnvilChunkLoader.java:311)
at aam.a(AnvilChunkLoader.java:127)
at im.b(ChunkProviderServer.java:232)
at im.a(ChunkProviderServer.java:284)
at in.a(WorldServer.java:844)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:373)
at net.minecraft.server.MinecraftServer.k(MinecraftServer.java:406)
at bdz.k(IntegratedServer.java:231)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:550)
at fy.run(SourceFile:849)

commented

Caused tracked down to setting the refuel value of personal anchors different from world anchors. Will be fixed in next release, until then don't do that. =P