From 4ccf03dfd3ad1bf66fbb79d3e559ca748124335a Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 28 Jan 2024 10:31:02 -0500 Subject: [PATCH] Zone offset not world loc. --- src/engine/objects/NPC.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index da0ea3ae..c54d5925 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -467,7 +467,7 @@ public class NPC extends AbstractCharacter { newNPC.contractUUID = contractID; if (building == null) - newNPC.bindLoc = spawn; + newNPC.bindLoc = ZoneManager.worldToLocal(spawn, parent); else newNPC.bindLoc = Vector3fImmutable.ZERO;