Removed name override logic.

This commit is contained in:
2023-04-30 08:18:38 -04:00
parent 21241aa5df
commit 9c83e6f9d9
+1 -8
View File
@@ -240,14 +240,7 @@ public class NPC extends AbstractCharacter {
submitUpgradeJob(); submitUpgradeJob();
this.name = rs.getString("npc_name"); this.name = rs.getString("npc_name");
this.nameOverride = 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){ }catch(Exception e){
Logger.error(e); Logger.error(e);