remove

open fun remove(itemId: Int): Int

Unequips an item from equipment with the given itemId

Return

The stack amount of the item that was removed. 0 if no item was removed.


open fun remove(itemName: String): Int

Unequips an item from equipment with the given itemName

Return

The stack amount of the item that was removed. 0 if no item was removed.