From a73c3453ea9f7fbb3a649c79158224ed0a923411 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 31 Dec 2024 20:04:54 -0600 Subject: [PATCH] npc manager error spam --- src/engine/objects/Bane.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/Bane.java b/src/engine/objects/Bane.java index 3b081c6d..389a88aa 100644 --- a/src/engine/objects/Bane.java +++ b/src/engine/objects/Bane.java @@ -305,7 +305,11 @@ public final class Bane { //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()); - NPCManager.slotCharacterInBuilding(baneCommander); + try { + NPCManager.slotCharacterInBuilding(baneCommander); + }catch(Exception e){ + + } WorldGrid.addObject(baneCommander,spawnLoc.x,spawnLoc.z); WorldGrid.updateObject(baneCommander); }