equip
static boolean equip(int itemId)
Content copied to clipboard
Equips an item from the inventory with the given itemId.
Return
True if the item click was successful. False otherwise.
Equips an item from the inventory with the given itemName.
Return
True if the item click was successful. False otherwise.
Equips the given InventoryItem.
Return
True if the item click was successful. False otherwise.