From 814ffbe8004e29488005d024d9663612050b72e2 Mon Sep 17 00:00:00 2001 From: GJ Date: Sat, 16 Mar 2013 11:41:16 -0400 Subject: [PATCH] Fixed by Bukkit in CB #2654 --- .../java/com/gmail/nossr50/listeners/InventoryListener.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/InventoryListener.java b/src/main/java/com/gmail/nossr50/listeners/InventoryListener.java index e30072f5e..b0c4fa62b 100644 --- a/src/main/java/com/gmail/nossr50/listeners/InventoryListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/InventoryListener.java @@ -157,8 +157,6 @@ public class InventoryListener implements Listener { @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) public void onInventoryClickEvent(InventoryClickEvent event) { - if (event.getSlot() >= 0) { - SkillUtils.removeAbilityBuff(event.getCurrentItem()); - } + SkillUtils.removeAbilityBuff(event.getCurrentItem()); } }