The Twilight Forest

The Twilight Forest

143M Downloads

Ore Magnet spits out an Error on use

Andromander opened this issue ยท 0 comments

commented

Forge version: 23.14.2.2641
Twilight Forest version: 3.6.372
Link to crash log:

Using the Ore Magnet (releasing on fully charged), an error will be spat out onto the logs. Along with this, no ores will be pulled out. This may also relate to #462 as it does not attract ores.

[21:58:43] [Server thread/FATAL] [net.minecraft.server.MinecraftServer]: Error executing task
java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 1
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_151]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_151]
	at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:721) [MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666) [MinecraftServer.class:?]
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185) [chd.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524) [MinecraftServer.class:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
	at twilightforest.item.ItemTFOreMagnet.isOre(ItemTFOreMagnet.java:291) ~[ItemTFOreMagnet.class:?]
	at twilightforest.item.ItemTFOreMagnet.doMagnet(ItemTFOreMagnet.java:158) ~[ItemTFOreMagnet.class:?]
	at twilightforest.item.ItemTFOreMagnet.doMagnet(ItemTFOreMagnet.java:129) ~[ItemTFOreMagnet.class:?]
	at twilightforest.item.ItemTFOreMagnet.func_77615_a(ItemTFOreMagnet.java:72) ~[ItemTFOreMagnet.class:?]
	at net.minecraft.item.ItemStack.func_77974_b(ItemStack.java:548) ~[aip.class:?]
	at net.minecraft.entity.EntityLivingBase.func_184597_cx(EntityLivingBase.java:2805) ~[vp.class:?]
	at net.minecraft.network.NetHandlerPlayServer.func_147345_a(NetHandlerPlayServer.java:664) ~[pa.class:?]
	at net.minecraft.network.play.client.CPacketPlayerDigging.func_148833_a(SourceFile:40) ~[lp.class:?]
	at net.minecraft.network.play.client.CPacketPlayerDigging.func_148833_a(SourceFile:10) ~[lp.class:?]
	at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) ~[hv$1.class:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_151]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_151]
	at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?]
	... 5 more