Naming logic changed to have a valid guild.
This commit is contained in:
1 parent
f85fb8f224
commit
322b88a1f4
1 file changed
+1
-1
@@ -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){
|
||||
|
||||
Reference in new issue
Block a user