From afea79474eb1c95c0e91c96fcfb7763e602df872 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 28 Dec 2024 05:56:04 -0600 Subject: [PATCH] bane commander NPC --- src/engine/objects/Bane.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/Bane.java b/src/engine/objects/Bane.java index 1f7baa9e..23414c10 100644 --- a/src/engine/objects/Bane.java +++ b/src/engine/objects/Bane.java @@ -281,8 +281,6 @@ public final class Bane { baneCommander = NPC.createNPC("Bane Commander", contractID, spawnLoc, bane.getCity().getGuild(), ZoneManager.findSmallestZone(bane.getStone().loc), (short) 70, bane.getStone()); baneCommander.setLoc(spawnLoc); baneCommander.setGuild(bane.getCity().getGuild()); - WorldGrid.addObject(baneCommander,spawnLoc.x, spawnLoc.z); - WorldGrid.updateObject(baneCommander); } else { @@ -290,6 +288,8 @@ public final class Bane { baneCommander.setLoc(spawnLoc); baneCommander.setGuild(bane.getCity().getGuild()); } + WorldGrid.addObject(baneCommander,spawnLoc.x, spawnLoc.z); + WorldGrid.updateObject(baneCommander); InterestManager.setObjectDirty(baneCommander); }