GUI losing items.
mibby opened this issue ยท 3 comments
User opens pet menu. Drags item in menu GUI. Menu closes. Item is lost. Any way to prevent items from being dragged in any of the GUI inventory slots?
@EventHandler
public void onClickSlot(InventoryClickEvent e) {
if(e.getSlot() == 1) {
e.setResult(Result.DENY);
e.setCancelled(true);
}
}
Confirmed fixed.
b6bcac8