nossr50/mcMMO — Issue #160: "Enchantment level is either too low or too high"
Author: liquidox
Created: 2011-12-06 12:36:20+00:00
State: open

New error:

13:37:02 [SEVERE] Could not pass event PLAYER_FISH to mcMMO
java.lang.IllegalArgumentException: Enchantment level is either too low or too high (given 0, bounds are 1 to 1
at org.bukkit.inventory.ItemStack.addEnchantment(ItemStack.java:276)
at com.gmail.nossr50.skills.Fishing.processResults(Fishing.java:731)
at com.gmail.nossr50.listeners.mcPlayerListener.onPlayerFish(mcPlayerListener.java:86)
at org.bukkit.plugin.java.JavaPluginLoader$27.execute(JavaPluginLoader.java:442)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.EntityFishingHook.j(EntityFishingHook.java:363)
at net.minecraft.server.ItemFishingRod.a(ItemFishingRod.java:15)
at net.minecraft.server.ItemStack.a(ItemStack.java:83)
at net.minecraft.server.ItemInWorldManager.useItem(ItemInWorldManager.java:240)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:562)
at net.minecraft.server.Packet15Place.a(SourceFile:39)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)