Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

findRemoveRefusal

findRemoveRefusal(world, player, entity, isStored): BuildRefusalResult | null

Why player, or a system where null, may not store or demolish entity on world, or null where the player may: a placed piece, a storage where the player asks to store, and the player’s access where it stands. What a build tool tints an aimed piece by; the room’s hook may still refuse.

Parameter Type
world World
player PlayerEntity | null
entity Entity
isStored boolean

BuildRefusalResult | null