From 85931b6dc28a81e642062709ef66fd348ac64cd8 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 28 Dec 2024 05:50:15 -0600 Subject: [PATCH] bane commander NPC --- src/engine/objects/Bane.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/Bane.java b/src/engine/objects/Bane.java index 082b8baf..8beb3b57 100644 --- a/src/engine/objects/Bane.java +++ b/src/engine/objects/Bane.java @@ -275,7 +275,7 @@ public final class Bane { NPC baneCommander; int commanderuuid = DbManager.NPCQueries.BANE_COMMANDER_EXISTS(bane.getStone().getObjectUUID()); - if(commanderuuid != 0) { + if(commanderuuid == 0) { //add bane commander NPC int contractID = 1502042; baneCommander = NPC.createNPC("Bane Commander", contractID, spawnLoc, bane.getCity().getGuild(), ZoneManager.findSmallestZone(bane.getStone().loc), (short) 70, bane.getStone());