From 2fc1ba44d82794726f41023769d6589415632efc Mon Sep 17 00:00:00 2001 From: nossr50 Date: Thu, 2 Jul 2020 21:06:19 -0700 Subject: [PATCH] Oopsie --- .../java/com/gmail/nossr50/listeners/InventoryListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/InventoryListener.java b/src/main/java/com/gmail/nossr50/listeners/InventoryListener.java index 161baacf8..b64246df2 100644 --- a/src/main/java/com/gmail/nossr50/listeners/InventoryListener.java +++ b/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())); }