AgriCraft

AgriCraft

30M Downloads

Exception with NEI

Opened this issue ยท 1 comments

commented

Hi,

i get the following Exception, and NEI is not working after installing this mod.
(list of my mods: http://pastebin.com/4xmFZGH2)

[B#439] java.lang.ClassCastException: gregtech.common.items.GT_MetaGenerated_Item_01 cannot be cast to net.minecraft.item.ItemBlock
[B#439] at com.InfinityRaider.AgriCraft.utility.NBTHelper.getMaterialTag(NBTHelper.java:14) ~[NBTHelper.class:?]
[B#439] at com.InfinityRaider.AgriCraft.items.ItemBlockCustomWood.addMaterialToList(ItemBlockCustomWood.java:81) ~[ItemBlockCustomWood.class:?]
[B#439] at com.InfinityRaider.AgriCraft.items.ItemBlockCustomWood.func_150895_a(ItemBlockCustomWood.java:60) ~[ItemBlockCustomWood.class:?]
[B#439] at codechicken.nei.api.ItemInfo.searchItems(ItemInfo.java:364) ~[ItemInfo.class:?]
[B#439] at codechicken.nei.api.ItemInfo.load(ItemInfo.java:97) ~[ItemInfo.class:?]
[B#439] at codechicken.nei.NEIClientConfig.bootNEI(NEIClientConfig.java:258) ~[NEIClientConfig.class:?]
[B#439] at codechicken.nei.NEIClientConfig.loadWorld(NEIClientConfig.java:208) ~[NEIClientConfig.class:?]
[B#439] at codechicken.nei.NEICPH.handleSMPCheck(NEICPH.java:109) [NEICPH.class:?]
[B#439] at codechicken.nei.NEICPH.handlePacket(NEICPH.java:23) [NEICPH.class:?]
[B#439] at codechicken.lib.packet.PacketCustom$ClientInboundHandler.handle(PacketCustom.java:98) [PacketCustom$ClientInboundHandler.class:?]
[B#439] at codechicken.lib.packet.PacketCustom$CustomInboundHandler.channelRead0(PacketCustom.java:75) [PacketCustom$CustomInboundHandler.class:?]
[B#439] at codechicken.lib.packet.PacketCustom$CustomInboundHandler.channelRead0(PacketCustom.java:62) [PacketCustom$CustomInboundHandler.class:?]
[B#439] at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) [SimpleChannelInboundHandler.class:?]
[B#439] at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
[B#439] at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
[B#439] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
[B#439] at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]
[B#439] at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:77) [FMLProxyPacket.class:?]
[B#439] at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212) [ej.class:?]
[B#439] at net.minecraft.client.multiplayer.GuiConnecting.func_73876_c(SourceFile:78) [bcx.class:?]
[B#439] at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1650) [bao.class:?]
[B#439] at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:962) [bao.class:?]
[B#439] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887) [bao.class:?]
[B#439] at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
[B#439] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_71]
[B#439] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71]
[B#439] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_71]
[B#439] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_71]
[B#439] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
[B#439] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

commented

Fixed in next version, thanks for the report.
You can play without crashing if you disable irrigation systems in the config.
After the update you can toggle it again.