Open charlyg31 opened 4 years ago
What does this even fix
I guarantee this check wont work properly without something not included. We already fully cancel InventoryClickEvent in Robert and EchoPet if it matches an inventory managed by either of them.
Please add
if (event.isShiftClick() || event.getClick() == ClickType.DOUBLE_CLICK || event.getClick() == ClickType.DROP || event.getAction() == InventoryAction.MOVE_TO_OTHER_INVENTORY) event.setCancelled(true);
in eventhandler InventoryClickEvent