I am trying to prevent people from opening a inventory, hold and item and close the inventory. This would cause, normally in a item drop in the ground. However i use a item drop event: Code:java @EventHandler public void onDrop(PlayerDropItemEvent e) { Player dm = e.getPlayer(); User dmg = Main.arenaManager.getUser(dm); if (dmg != null) { Player p = e.getPlayer(); ItemStack item = e.getItemDrop().getItemStack().clone(); item.setAmount(p.getInventory().getItemInHand().getAmount() + 1); e.getItemDrop().remove(); p.getInventory().setItem(p.getInventory().getHeldItemSlot(), item); dm.updateInventory(); } } Dont tell me "cancel the event". If i cancel and i drop the item in slot nÂș8, it will cancel but put the item in the first slot available. If i use this code and i hold an item in the inventory and close it, the inventory disappears and goes really buggy, and when it "updates" the item completly disappears. I tried to see the close event but i couldnt really see a solution :/ I want to give the item back when this occurs EDIT by Moderator: merged posts, please use the edit button instead of double posting.