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;
|
||||
|
||||
if (building == null)
|
||||
newNPC.bindLoc = spawn;
|
||||
newNPC.bindLoc = ZoneManager.worldToLocal(spawn, parent);
|
||||
else
|
||||
newNPC.bindLoc = Vector3fImmutable.ZERO;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user