Browse Source

Early exit for npc guild owners.

master
MagicBot 1 year ago
parent
commit
4d0980d13e
  1. 3
      src/engine/objects/NPC.java

3
src/engine/objects/NPC.java

@ -1074,6 +1074,9 @@ public class NPC extends AbstractCharacter { @@ -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();

Loading…
Cancel
Save