Client methods called on server
Cisien opened this issue ยท 2 comments
BiomesOPlenty-universal-1.6.4-1.1.3.267
minecraftforge-universal-1.6.4-9.11.1.952
2013-11-16 12:48:26 [SEVERE] [Minecraft-Server] Encountered an unexpected exception NoClassDefFoundError
java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
at biomesoplenty.configuration.BOPAchievements.chunkEntered(BOPAchievements.java:105)
at net.minecraftforge.event.ASMEventHandler_166_BOPAchievements_chunkEntered_EnteringChunk.invoke(.dynamic)
at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)
at net.minecraftforge.event.EventBus.post(EventBus.java:108)
at net.minecraft.world.chunk.Chunk.func_76612_a(Chunk.java:923)
at net.minecraft.world.World.func_72838_d(World.java:1578)
at net.minecraft.server.management.ServerConfigurationManager.func_72377_c(ServerConfigurationManager.java:267)
at net.minecraft.server.management.ServerConfigurationManager.func_72355_a(ServerConfigurationManager.java:136)
at net.minecraft.network.NetLoginHandler.completeConnection(NetLoginHandler.java:201)
at cpw.mods.fml.common.network.FMLNetworkHandler.handleClientConnection(FMLNetworkHandler.java:167)
at cpw.mods.fml.common.network.FMLNetworkHandler.onConnectionReceivedFromClient(FMLNetworkHandler.java:121)
at net.minecraft.network.NetLoginHandler.func_72529_d(NetLoginHandler.java:185)
at net.minecraft.network.NetLoginHandler.func_72532_c(NetLoginHandler.java:71)
at net.minecraft.server.ServerListenThread.func_71766_a(ServerListenThread.java:55)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(SourceFile:29)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:691)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:276)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:186)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 20 more
Caused by: java.lang.RuntimeException: Attempted to load class atv for invalid side SERVER
at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50)
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:274)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:172)
... 22 more
Yeah, I figured that would cause problems. It wasn't working when it was only on the client side, even though it should be.