Browse Source

Removed name override logic.

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

9
src/engine/objects/NPC.java

@ -240,14 +240,7 @@ public class NPC extends AbstractCharacter { @@ -240,14 +240,7 @@ 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");
this.nameOverride = rs.getString("npc_name");
}catch(Exception e){
Logger.error(e);

Loading…
Cancel
Save