|
|
@ -1056,6 +1056,9 @@ public class NPC extends AbstractCharacter { |
|
|
|
if (ConfigManager.serverType.equals(ServerType.LOGINSERVER)) |
|
|
|
if (ConfigManager.serverType.equals(ServerType.LOGINSERVER)) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.contract == null) |
|
|
|
|
|
|
|
return; // Early exit for npc guild owners
|
|
|
|
|
|
|
|
|
|
|
|
// Configure parent zone adding this NPC to the
|
|
|
|
// Configure parent zone adding this NPC to the
|
|
|
|
// zone collection
|
|
|
|
// zone collection
|
|
|
|
|
|
|
|
|
|
|
@ -1074,9 +1077,6 @@ 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(); |
|
|
|