Closed spenk closed 11 years ago
player.getInventory().removeItem(slot) leaves a ghost item in player's inventory
It's removeItem(int id), not removeItem(int slot). Where id is the id of the item
As Nicco states. Also Inventory.setSlot(0,0,0,slot); will empty a slot too.
player.getInventory().removeItem(slot) leaves a ghost item in player's inventory