When ever I use an item in the inventory it lets me remove it from the inventory. How do I stop this. code: http://pastebin.com/GN6GU8hQ
You have to define the inventory at the start of the InventoryClickEvent. Like: Code: if(e.getInventory().getName().equals("Inventory Name Here")) { and end it to last line of event EDIT: e.getInventory()