ArrayIndexOutOfBoundsException when using a whitelisted non-axe tool with the chopping block
codetaylor opened this issue ยท 0 comments
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at com.codetaylor.mc.athenaeum.util.ArrayHelper.getOrLast(ArrayHelper.java:103) ~[ArrayHelper.class:?]
at com.codetaylor.mc.pyrotech.modules.tech.basic.tile.TileChoppingBlock$InteractionChop.doInteraction(TileChoppingBlock.java:478) ~[TileChoppingBlock$InteractionChop.class:?]
at com.codetaylor.mc.pyrotech.modules.tech.basic.tile.TileChoppingBlock$InteractionChop.doInteraction(TileChoppingBlock.java:340) ~[TileChoppingBlock$InteractionChop.class:?]
at com.codetaylor.mc.pyrotech.interaction.spi.InteractionUseItemBase.interact(InteractionUseItemBase.java:35) ~[InteractionUseItemBase.class:?]
at com.codetaylor.mc.pyrotech.interaction.spi.ITileInteractable.interact(ITileInteractable.java:130) ~[ITileInteractable.class:?]
at com.codetaylor.mc.pyrotech.interaction.spi.IBlockInteractable.interact(IBlockInteractable.java:35) ~[IBlockInteractable.class:?]
at com.codetaylor.mc.pyrotech.modules.tech.basic.block.BlockChoppingBlock.onBlockActivated(BlockChoppingBlock.java:67) ~[BlockChoppingBlock.class:?]
at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:475) ~[PlayerInteractionManager.class:?]
at net.minecraft.network.NetHandlerPlayServer.processTryUseItemOnBlock(NetHandlerPlayServer.java:769) ~[NetHandlerPlayServer.class:?]
at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:68) ~[CPacketPlayerTryUseItemOnBlock.class:?]
at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:13) ~[CPacketPlayerTryUseItemOnBlock.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:21) ~[PacketThreadUtil$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_144]
at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:266) ~[?:1.8.0_144]
at java.util.concurrent.FutureTask.run(FutureTask.java) ~[?:1.8.0_144]
at net.minecraft.util.Util.runTask(Util.java:53) ~[Util.class:?]
... 5 more