Crashing for missing railcraft API
EzerArch opened this issue ยท 4 comments
I'm getting "NoClassDefFoundError: railcraft api" every time I right-click some vehicles, esp. cargo ones, with an item in hand and if I use the Stake. (EDITED)
Probably the crash is caused by a dependency leftover related to railcraft's crowbar, which gets exposed once I don't have railcraft installed.
Description: Unexpected error
java.lang.NoClassDefFoundError: mods/railcraft/api/core/items/IToolCrowbar
at train.common.api.EntityRollingStock.func_130002_c(EntityRollingStock.java:1667)
at train.common.entity.rollingStock.EntityTracksBuilder.func_130002_c(EntityTracksBuilder.java:323)
at net.minecraft.entity.player.EntityPlayer.func_70998_m(EntityPlayer.java:1126)
*snip*
Caused by: java.lang.ClassNotFoundException: mods.railcraft.api.core.items.IToolCrowbar
Full log: https://gist.github.com/EzerArch/b059b46c2c552ec423658758a2dd738f
Situation: The builder and cargo vehicles will crash if I right-click them with an item in hand. Right-clicking with bare hand won't crash.
Forge 10.13.4.1614
TC version: Traincraft-4.3.0_003
Closed via 1487431
You're correct, at the method we use railcraft classes without asking that the class exist / railcraft is present
Additional info:
I'm getting "NoClassDefFoundError: railcraft api" every time I right-click some vehicles, esp. cargo ones, with an item in hand and if I use the Stake.
@EzerArch well I couldn't reproduce it. Anyways the crash shouldn't happen because we ship with the RC-API. It seems that you have an other mod with an old RC Api thats overwriting our used API. But I just fixed the problem in the next release