Skip to main content

server Entity:removeItem

boolean Entity:removeItem(slot, amount)

Removes the given amount (if not set, the whole item) on the given slot


Parameters

TypeNameDescriptionOptional
numberslotNo description
numberamountRemoves the whole item if not set

Returns

TypeDescription
booleanNo description