diff --git a/Plugins/Mineplex.Core/src/mineplex/core/inventory/InventoryManager.java b/Plugins/Mineplex.Core/src/mineplex/core/inventory/InventoryManager.java index d3a3c4107..c1e8eef3a 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/inventory/InventoryManager.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/inventory/InventoryManager.java @@ -266,7 +266,7 @@ public class InventoryManager extends MiniDbClientPlugin @EventHandler public void onInventoryClick(final InventoryClickEvent event) { - if (event.getView().getTopInventory().getType() != InventoryType.ENCHANTING) + if (event.getClickedInventory().getType() != InventoryType.ENCHANTING) { return; }