bane commander NPC

This commit is contained in:
2024-12-28 06:05:19 -06:00
parent d13e939ddd
commit aaecc5eda2
+3
View File
@@ -284,10 +284,13 @@ public final class Bane {
{ {
baneCommander = NPC.getNPC(commanderuuid); baneCommander = NPC.getNPC(commanderuuid);
} }
baneCommander.runAfterLoad();
baneCommander.setLoc(spawnLoc); baneCommander.setLoc(spawnLoc);
InterestManager.setObjectDirty(baneCommander); InterestManager.setObjectDirty(baneCommander);
WorldGrid.addObject(baneCommander,spawnLoc.x, spawnLoc.z); WorldGrid.addObject(baneCommander,spawnLoc.x, spawnLoc.z);
WorldGrid.updateObject(baneCommander); WorldGrid.updateObject(baneCommander);
baneCommander.updateLocation();
} }
public static Bane getBane(int cityUUID) { public static Bane getBane(int cityUUID) {