get

operator fun get(slot: Int): Long

Gets the obj in slot.

Return

the obj in the respective slot, or InventoryObject.NULL if no object exists in that slot.

Throws

if the index is out of bounds