Naming logic changed to have a valid guild.

This commit is contained in:
MagicBot committed 2023-05-08 09:20:56 -04:00
1 parent f85fb8f224
commit 322b88a1f4
1 file changed
+1 -1
+1 -1
View File
@@ -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){