nossr50/mcMMO — Issue #214: I can't repair my tools
Author: whatagalaxyjoke
Created: 2012-01-07 15:54:22+00:00
State: open

I don't know if it was a bug or just I have a wrong config.
When I right clicking the Iron Block with my Iron tool in my hand, the server give me this message:

23:45:28 [SEVERE] Could not pass event PLAYER_INTERACT to mcMMO
java.lang.NoSuchMethodError: org.bukkit.inventory.ItemStack.getEnchantments()Ljava/util/Map;
at com.gmail.nossr50.skills.Repair.repairCheck(Repair.java:58)
at com.gmail.nossr50.listeners.mcPlayerListener.onPlayerInteract(mcPlayerListener.java:193)
at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:330)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
t(CraftEventFactory.java:171)
at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:266)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
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)

THX for your work.