isWorldSaveTrait
isWorldSaveTrait(
world,trait):boolean
Whether one of the game’s worldSaves keeps each entity holding
trait, as a save listed there with each: trait does: what a plugin
whose entities must outlive a restart checks before it lets a player
pay for one.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
trait |
Trait |
Returns
Section titled “Returns”boolean