Browse Source

Naming logic changed to have a valid guild.

master
MagicBot 2 years ago
parent
commit
322b88a1f4
  1. 2
      src/engine/objects/NPC.java

2
src/engine/objects/NPC.java

@ -246,7 +246,7 @@ public class NPC extends AbstractCharacter { @@ -246,7 +246,7 @@ public class NPC extends AbstractCharacter {
if (this.building != null &&
this.building.getOwner() != null &&
this.building.getOwner().getObjectType().equals(GameObjectType.PlayerCharacter))
this.building.getOwner().guild != null)
this.name += " the " + this.contract.getName();
}catch(Exception e){

Loading…
Cancel
Save