Fix getters for motd and description

This commit is contained in:
Magnus Ulf Jørgensen
2017-05-09 10:59:38 +02:00
parent 25a54882c9
commit 4dba9140de
5 changed files with 31 additions and 19 deletions

View File

@@ -114,7 +114,7 @@ public class EngineMoveChunk extends Engine
string = string.replace("{name}", faction.getName());
string = string.replace("{relcolor}", faction.getColorTo(mplayer).toString());
string = string.replace("{desc}", faction.getDescription());
string = string.replace("{desc}", faction.getDescriptionDesc());
return string;
}

View File

@@ -59,7 +59,7 @@ public class EngineShow extends Engine
}
// DESCRIPTION
show(idPriorityLiness, Const.SHOW_ID_FACTION_DESCRIPTION, Const.SHOW_PRIORITY_FACTION_DESCRIPTION, "Description", faction.getDescription());
show(idPriorityLiness, Const.SHOW_ID_FACTION_DESCRIPTION, Const.SHOW_PRIORITY_FACTION_DESCRIPTION, "Description", faction.getDescriptionDesc());
// SECTION: NORMAL
if (normal)