Open GregHib opened 1 month ago
Issue was Interfaces.hasOpenOrRootParent
was returning false because the gameframe/toplevel interface hadn't been opened due to it being called later in the playerSpawn than player["inWilderness"] = true
.
Solved by opening the gameframe before emitting player Spawn event.
Sometimes when teleporting or logging into wilderness the skull doesn't show (or does and then is cleared). Purely visual, the player is still considered
in_wilderness: true
and can correctly attack and be attacked.