joekaiser / practicalities

1 stars 3 forks source link

[1.8.9] NoClassDefFoundError when running as a dedicated server #49

Closed cauliflower69 closed 8 years ago

cauliflower69 commented 8 years ago

http://pastebin.com/C6KbSBPh

All the other mods seem to behave properly until this is added then it crashes

joekaiser commented 8 years ago
net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: practicalities/items/ItemMagnet
    at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162)
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:559)
    at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88)
   at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:319)
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:112)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441)
    at java.lang.Thread.run(Thread.java:745)
joekaiser commented 8 years ago

Duplicate of #47 Closing this one and I will track against the other one.

joekaiser commented 8 years ago

The cause is a derp I made. Each Item implements ItemMeshDefinition, which of course isn't on the server instance. Gotta refactor a lot

cauliflower69 commented 8 years ago

Glad you found the error