From aaecc5eda2b727a0be88a674dca0b51b57cbc6a1 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 28 Dec 2024 06:05:19 -0600 Subject: [PATCH] bane commander NPC --- src/engine/objects/Bane.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/objects/Bane.java b/src/engine/objects/Bane.java index 1cb1d051..0eed9f8d 100644 --- a/src/engine/objects/Bane.java +++ b/src/engine/objects/Bane.java @@ -284,10 +284,13 @@ public final class Bane { { baneCommander = NPC.getNPC(commanderuuid); } + baneCommander.runAfterLoad(); baneCommander.setLoc(spawnLoc); InterestManager.setObjectDirty(baneCommander); WorldGrid.addObject(baneCommander,spawnLoc.x, spawnLoc.z); WorldGrid.updateObject(baneCommander); + + baneCommander.updateLocation(); } public static Bane getBane(int cityUUID) {