Naming logic changed to have a valid guild.

This commit is contained in:
2023-05-08 09:20:56 -04:00
parent f85fb8f224
commit 322b88a1f4
+1 -1
View File
@@ -246,7 +246,7 @@ public class NPC extends AbstractCharacter {
if (this.building != null && if (this.building != null &&
this.building.getOwner() != null && this.building.getOwner() != null &&
this.building.getOwner().getObjectType().equals(GameObjectType.PlayerCharacter)) this.building.getOwner().guild != null)
this.name += " the " + this.contract.getName(); this.name += " the " + this.contract.getName();
}catch(Exception e){ }catch(Exception e){