Skip to main content

shared Entity:hasItem

boolean Entity:hasItem(slot)

Returns true if the storage has an item on the given slot


Parameters​

TypeNameDescriptionOptional
numberslotNo description

Returns​

TypeDescription
booleanNo description