Browse Source

Removed name override logic.

master
MagicBot 2 years ago
parent
commit
9c83e6f9d9
  1. 7
      src/engine/objects/NPC.java

7
src/engine/objects/NPC.java

@ -240,15 +240,8 @@ public class NPC extends AbstractCharacter { @@ -240,15 +240,8 @@ public class NPC extends AbstractCharacter {
submitUpgradeJob();
this.name = rs.getString("npc_name");
// Zone cache can override contract name
if (this.nameOverride.isEmpty())
this.nameOverride = rs.getString("npc_name") + " the " + this.getContract().getName();
else
this.nameOverride = rs.getString("npc_name");
}catch(Exception e){
Logger.error(e);
e.printStackTrace();

Loading…
Cancel
Save