removeItem

abstract fun removeItem(item: ItemStack)

Removes the specified item from the array, or does nothing if there isn't an element that matches this item.

Parameters

item

the item to remove