Fixed PC-120

This commit is contained in:
xGamingDudex 2016-07-27 12:29:07 +02:00
parent 161381f393
commit 72b5507390

View File

@ -266,7 +266,7 @@ public class InventoryManager extends MiniDbClientPlugin<ClientInventory>
@EventHandler @EventHandler
public void onInventoryClick(final InventoryClickEvent event) public void onInventoryClick(final InventoryClickEvent event)
{ {
if (event.getView().getTopInventory().getType() != InventoryType.ENCHANTING) if (event.getClickedInventory().getType() != InventoryType.ENCHANTING)
{ {
return; return;
} }