Browse Source

Zone offset not world loc.

combat-2
MagicBot 10 months ago
parent
commit
4ccf03dfd3
  1. 2
      src/engine/objects/NPC.java

2
src/engine/objects/NPC.java

@ -467,7 +467,7 @@ public class NPC extends AbstractCharacter { @@ -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;

Loading…
Cancel
Save