nossr50 5 years ago
parent
commit
2fc1ba44d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/gmail/nossr50/listeners/InventoryListener.java

+ 1 - 1
src/main/java/com/gmail/nossr50/listeners/InventoryListener.java

@@ -435,7 +435,7 @@ public class InventoryListener implements Listener {
     @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
     public void onInventoryClickEvent(InventoryClickEvent event) {
         SkillUtils.removeAbilityBuff(event.getCurrentItem());
-        if (event.getAction() == InventoryAction.HOTBAR_SWAP) {\
+        if (event.getAction() == InventoryAction.HOTBAR_SWAP) {
             if(event.getWhoClicked().getInventory().getItem(event.getHotbarButton()) != null)
                 SkillUtils.removeAbilityBuff(event.getWhoClicked().getInventory().getItem(event.getHotbarButton()));
         }