From cd9d7f765230c213c418e95e47bba06fff27b438 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 29 Apr 2023 09:19:22 -0400 Subject: [PATCH] Set bindloc to slot location. --- 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 3d009033..8a70788f 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -360,7 +360,7 @@ public class NPC extends AbstractCharacter { // Setup location for this NPC this.bindLoc = new Vector3fImmutable(this.statLat, this.statAlt, this.statLon); this.bindLoc = this.parentZone.getLoc().add(this.bindLoc); - this.loc = bindLoc; + this.loc = new Vector3fImmutable(bindLoc); // Handle NPCs within buildings