forked from MagicBane/Server
Early exit for npc guild owners.
This commit is contained in:
@@ -1074,6 +1074,9 @@ public class NPC extends AbstractCharacter {
|
|||||||
if (this.building != null)
|
if (this.building != null)
|
||||||
NPCManager.slotCharacterInBuilding(this);
|
NPCManager.slotCharacterInBuilding(this);
|
||||||
|
|
||||||
|
if (this.contract == null)
|
||||||
|
return; // Early exit for npc guild owners
|
||||||
|
|
||||||
if (this.contract != null) {
|
if (this.contract != null) {
|
||||||
this.symbol = this.contract.getIconID();
|
this.symbol = this.contract.getIconID();
|
||||||
this.modTypeTable = this.contract.getNPCModTypeTable();
|
this.modTypeTable = this.contract.getNPCModTypeTable();
|
||||||
|
|||||||
Reference in New Issue
Block a user