World anchor cart crashes server
morj opened this issue ยท 4 comments
Steps to reproduce:
- Create world anchor cart
- Attach it to a tunnel bore after some chest carts
- Put an ender pear in world anchor.
- Wait 12 hours.
- Server crashes, reproduces on restart.
Railcraft 9.0.0.0
Deleting named anchor cart (and only it) via MCEdit solved the problem.
Also, I will take a liberty to attach a tiny part of chash log because I truly believe it is the actual source of the problem (see EntityCartAnchor "requestFuel" method and ItemMap usage).
net.minecraft.util.ReportedException: Ticking entity at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:626) ~ ... Caused by: java.lang.NullPointerException at mods.railcraft.common.util.collections.ItemMap.containsKey(ItemMap.java:52) ~[ItemMap.class:?] at mods.railcraft.common.carts.EntityCartAnchor.requestFuel(EntityCartAnchor.java:133) ~[EntityCartAnchor.class:?] at mods.railcraft.common.carts.EntityCartAnchor.stockFuel(EntityCartAnchor.java:124) ~[EntityCartAnchor.class:?] at mods.railcraft.common.carts.EntityCartAnchor.func_70071_h_(EntityCartAnchor.java:99) ~[EntityCartAnchor.class:?] at net.minecraft.world.World.func_72866_a(World.java:2019) ~[afn.class:?] at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:659) ~[mj.class:?] ...
I suppose you can install 9.1.x or even 9.2.x which has been already released. http://www.railcraft.info/releases