Advanced Fishing

Advanced Fishing

12M Downloads

IllegalArgumentException: bound must be positive

NightKosh opened this issue ยท 0 comments

commented
Caused by: java.lang.IllegalArgumentException: bound must be positive
	at java.util.Random.nextInt(Random.java:388) ~[?:1.8.0_60]
	at nightkosh.advanced_fishing.entity.projectile.EntityCustomFishHook.getCatch(EntityCustomFishHook.java:375) ~[EntityCustomFishHook.class:?]
	at nightkosh.advanced_fishing.entity.projectile.EntityCustomFishHook.handleHookRetraction(EntityCustomFishHook.java:319) ~[EntityCustomFishHook.class:?]
	at nightkosh.advanced_fishing.item.AbstractFishingPole.onItemRightClick(AbstractFishingPole.java:34) ~[AbstractFishingPole.class:?]
	at net.minecraft.item.ItemStack.useItemRightClick(ItemStack.java:234) ~[ItemStack.class:?]
	at net.minecraft.server.management.PlayerInteractionManager.processRightClick(PlayerInteractionManager.java:384) ~[PlayerInteractionManager.class:?]
	at net.minecraft.network.NetHandlerPlayServer.processTryUseItem(NetHandlerPlayServer.java:794) ~[NetHandlerPlayServer.class:?]
	at net.minecraft.network.play.client.CPacketPlayerTryUseItem.processPacket(CPacketPlayerTryUseItem.java:43) ~[CPacketPlayerTryUseItem.class:?]
	at net.minecraft.network.play.client.CPacketPlayerTryUseItem.processPacket(CPacketPlayerTryUseItem.java:9) ~[CPacketPlayerTryUseItem.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_60]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_60]
	at net.minecraft.util.Util.runTask(Util.java:53) ~[Util.class:?]
	... 5 more