remove

static int remove(int itemId)

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.

static int remove(String itemName)

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.