warnInDevelopment
warnInDevelopment(
target,message):boolean
Prints message as a warning where target, a world or an entity in
one, runs in development, and answers whether it printed: what a
plugin says of a call that works but reads as a mistake, such as two
players naming one entity as their presence. A deployed world prints
nothing, and an entity that is gone is nobody’s.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
target |
Entity | World |
message |
string |
Returns
Section titled “Returns”boolean