Trying to open the GUI from Forestry machines causes Crashes sometimes... i dont know what causes it but sometimes it works sometimes it
crashes the game
java.lang.ClassCastException: forestry.factory.gadgets.MachineCarpenter cannot be cast to forestry.factory.gadgets.MachineBottler
at forestry.factory.GuiHandlerFactory.getClientGuiElement(GuiHandlerFactory.java:49)
at forestry.core.GuiHandler.getClientGuiElement(GuiHandler.java:39)
at cpw.mods.fml.common.network.NetworkRegistry.openLocalGui(NetworkRegistry.java:328)
at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:357)
at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2480)
at cpw.mods.fml.common.network.OpenGuiPacket.execute(OpenGuiPacket.java:67)
at cpw.mods.fml.common.network.FMLNetworkHandler.handleFMLPacket(FMLNetworkHandler.java:116)
at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:81)
at net.minecraft.client.multiplayer.NetClientHandler.func_72501_a(NetClientHandler.java:1651)
at net.minecraft.network.packet.Packet250CustomPayload.func_73279_a(SourceFile:61)
at net.minecraft.network.MemoryConnection.func_74428_b(MemoryConnection.java:89)
at net.minecraft.client.multiplayer.NetClientHandler.func_72551_d(NetClientHandler.java:281)
at net.minecraft.client.multiplayer.WorldClient.func_72835_b(WorldClient.java:99)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1930)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
crashes the game
java.lang.ClassCastException: forestry.factory.gadgets.MachineCarpenter cannot be cast to forestry.factory.gadgets.MachineBottler
at forestry.factory.GuiHandlerFactory.getClientGuiElement(GuiHandlerFactory.java:49)
at forestry.core.GuiHandler.getClientGuiElement(GuiHandler.java:39)
at cpw.mods.fml.common.network.NetworkRegistry.openLocalGui(NetworkRegistry.java:328)
at cpw.mods.fml.common.network.FMLNetworkHandler.openGui(FMLNetworkHandler.java:357)
at net.minecraft.entity.player.EntityPlayer.openGui(EntityPlayer.java:2480)
at cpw.mods.fml.common.network.OpenGuiPacket.execute(OpenGuiPacket.java:67)
at cpw.mods.fml.common.network.FMLNetworkHandler.handleFMLPacket(FMLNetworkHandler.java:116)
at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:81)
at net.minecraft.client.multiplayer.NetClientHandler.func_72501_a(NetClientHandler.java:1651)
at net.minecraft.network.packet.Packet250CustomPayload.func_73279_a(SourceFile:61)
at net.minecraft.network.MemoryConnection.func_74428_b(MemoryConnection.java:89)
at net.minecraft.client.multiplayer.NetClientHandler.func_72551_d(NetClientHandler.java:281)
at net.minecraft.client.multiplayer.WorldClient.func_72835_b(WorldClient.java:99)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1930)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:910)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:838)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)