wild mob naes and world NPC names corrected
This commit is contained in:
1 parent
d4e7a6691c
commit
9fefebd4a3
2 files changed
+4
-1
No files matched your search
@@ -240,7 +240,7 @@ public class NPC extends AbstractCharacter {
|
||||
submitUpgradeJob();
|
||||
|
||||
this.name = rs.getString("npc_name");
|
||||
if(this.building != null && this.building.getOwner() != null){
|
||||
if(this.building != null && this.building.getOwner().getObjectType().equals(GameObjectType.PlayerCharacter)){
|
||||
this.name += " the " + this.contract.getName();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user