Early exit for npc guild owners.
This commit is contained in:
1 parent
9239bc1400
commit
4d0980d13e
1 file changed
+3
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user