Bindloc for non slooted npc's.

This commit is contained in:
2023-04-29 08:55:12 -04:00
parent 123f9eb588
commit 3494ae1e6b
+5
View File
@@ -357,6 +357,11 @@ public class NPC extends AbstractCharacter {
this.parentZone.zoneNPCSet.remove(this); this.parentZone.zoneNPCSet.remove(this);
this.parentZone.zoneNPCSet.add(this); this.parentZone.zoneNPCSet.add(this);
// Setup location for this NPC
this.bindLoc = this.building.getLoc().add(this.bindLoc);
this.loc = bindLoc;
// Add this npc to the hireling list. // Add this npc to the hireling list.
// if slotted within a building // if slotted within a building