From ee1fc0d55c28daf974c9e5bf1e90f10fc35fba59 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 12 May 2023 08:27:00 -0400 Subject: [PATCH] Bypass npc guild leaders in override.. --- src/engine/objects/NPC.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index aec22e57..299b27f4 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -245,7 +245,7 @@ public class NPC extends AbstractCharacter { // Name override for npc - if (wordCount(this.name) < 2) + if (wordCount(this.name) < 2 && this.contract != null) this.name += " the " + this.contract.getName(); }catch(Exception e){