Fixed PC-120

This commit is contained in:
xGamingDudex 2016-07-27 12:29:07 +02:00
parent 161381f393
commit 72b5507390
1 changed files with 1 additions and 1 deletions

View File

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