Added setInventorySlotContents()