summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-03-05 00:08:37 +0000
committerKHobbits <rob@khobbits.co.uk>2012-03-05 08:37:15 +0000
commit7819b9d2f027cd0fc4c6a11e325e2f2dbc839946 (patch)
tree77531fc239588e27caa40f307bd23c5f836db2d9
parent15c0565923cf521daa8af3dac10aed6b38133c98 (diff)
downloadEssentials-7819b9d2f027cd0fc4c6a11e325e2f2dbc839946.tar
Essentials-7819b9d2f027cd0fc4c6a11e325e2f2dbc839946.tar.gz
Essentials-7819b9d2f027cd0fc4c6a11e325e2f2dbc839946.tar.lz
Essentials-7819b9d2f027cd0fc4c6a11e325e2f2dbc839946.tar.xz
Essentials-7819b9d2f027cd0fc4c6a11e325e2f2dbc839946.zip
Apply colors to group tags.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandlist.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandlist.java b/Essentials/src/com/earth2me/essentials/commands/Commandlist.java
index 92833a66c..187e6c7e5 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandlist.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandlist.java
@@ -2,6 +2,7 @@ package com.earth2me.essentials.commands;
import static com.earth2me.essentials.I18n._;
import com.earth2me.essentials.User;
+import com.earth2me.essentials.Util;
import java.util.*;
import org.bukkit.Server;
import org.bukkit.command.CommandSender;
@@ -72,7 +73,7 @@ public class Commandlist extends EssentialsCommand
for (String group : groups)
{
final StringBuilder groupString = new StringBuilder();
- groupString.append(group).append(": ");
+ groupString.append(Util.replaceColor(group)).append(": ");
final List<User> users = sort.get(group);
Collections.sort(users);
boolean first = true;