Call Player.updateInventory() after potentially modifying the contents of the Inventory, as specified by InventoryClickEvent's documentation.