forked from MagicBane/Server
Removed name override logic.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user