Browse Source

Zone offset not world loc.

magicbox-1.5.2^2
MagicBot 11 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 {
newNPC.contractUUID = contractID; newNPC.contractUUID = contractID;
if (building == null) if (building == null)
newNPC.bindLoc = spawn; newNPC.bindLoc = ZoneManager.worldToLocal(spawn, parent);
else else
newNPC.bindLoc = Vector3fImmutable.ZERO; newNPC.bindLoc = Vector3fImmutable.ZERO;

Loading…
Cancel
Save