Early exit for npc guild owners.

This commit is contained in:
MagicBot committed 2023-08-19 16:04:46 -04:00
1 parent 9239bc1400
commit 4d0980d13e
1 file changed
+3
+3
View File
@@ -1074,6 +1074,9 @@ public class NPC extends AbstractCharacter {
if (this.building != null)
NPCManager.slotCharacterInBuilding(this);
if (this.contract == null)
return; // Early exit for npc guild owners
if (this.contract != null) {
this.symbol = this.contract.getIconID();
this.modTypeTable = this.contract.getNPCModTypeTable();