Ancient Spellcraft

Ancient Spellcraft

6M Downloads

Spirit Ward bug

leocqueiroz opened this issue ยท 5 comments

commented

A friend of mine casted "Spirit Ward" to discover this spell on my private server. Doing this, the server just crashed and now everytime we try to join it, our minecraft crash as well. I discover, doing tests with this spell on the single player, that if you cast this spell nerby to any block floating around you, the map will completely crash. ~ Also, when I put devoritium doors on the floor, the minecraft crash as well

commented

The console message:

StackTrace : /
/
java.lang.ClassCastException: /
/
net.minecraft.entity.item.EntityItem /
/
cannot be cast to /
/
net.minecraft.entity.EntityLivingBas /
/
/
/
com.windanesz.ancientspellcraft.entity.construct.EntitySpiritWard.func_70071_h_(EntitySpiritWard.java:132) /
/
org.spongepowered.common.event.tracking.TrackingUtil.tickEntity(TrackingUtil.java:167) /
/
net.minecraft.world.WorldServer.redirect$zll000$onCallEntityUpdate(WorldServer.java:4761) /
/
net.minecraft.world.World.func_72866_a(World.java:1996) /
/
net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832) /
/
net.minecraft.world.World.func_72870_g(World.java:1958) /
/
net.minecraft.world.World.func_72939_s(World.java:1762) /
/
net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:3931) /
/
net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767) /
/
net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) /
/
net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) /
/
net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) /
/
java.lang.Thread.run(Thread.java:748)

commented

For anyone with the same problem: There is an APOCALYPSE option on forge to remove every bugged entity when starting your server. But you can't control what it'll delete on your files... So use it in a last case xD. We used to fix this bug!!! To do it:

server_file/config/forge.cfg --> Change "removeErroringEntities=false" to true, and "removeErroringTileEntities=false" to true as well.

I strongly recommend to disable this feature after starting the server, then restart it

commented

Useful workaround. I've already fixed this in dev and will be released in a patch within a few days