forked from MagicBane/Server
Zone offset not world loc.
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user