Add colors to /f list

This commit is contained in:
drtshock 2014-11-13 12:52:21 -06:00
parent 64e234144e
commit 43826d986f
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ public class CmdList extends FCommand {
private List<String> getToolTips(Faction faction) {
List<String> lines = new ArrayList<String>();
for (String s : p.getConfig().getStringList("tooltips.list")) {
lines.add(replaceFInfoTags(s, faction));
lines.add(ChatColor.translateAlternateColorCodes('&',replaceFInfoTags(s, faction)));
}
return lines;
}

View File

@ -44,7 +44,7 @@ tooltips:
# This shows up when someone does /f list for the top factions.
# It will not sure up for factionless of course, just actual factions.
# You can't use color codes here.
# You can use color codes here.
list:
- "Leader: {leader}"
- "Claimed: {chunks}"