diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index 95a189ce..fe7a7784 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -577,6 +577,7 @@ public class NPC extends AbstractCharacter { if (parent != null) { npcWithoutID.setRelPos(parent, spawn.x - parent.absX, spawn.y - parent.absY, spawn.z - parent.absZ); } + npcWithoutID.setLoc(new Vector3fImmutable(npcWithoutID.statLat,npcWithoutID.statAlt,npcWithoutID.statLon)); NPC npc; try { npc = DbManager.NPCQueries.ADD_NPC(npcWithoutID, isMob);