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 00:08:37 +0000
commit1811631b93c5d1d2d731b5aced8b9e780b5b4fc4 (patch)
tree32859ee62cb046a8e094b413d608178d993d4b23
parent7cec1564b9e2b5074cae24f36de75b0838309b2a (diff)
downloadEssentials-1811631b93c5d1d2d731b5aced8b9e780b5b4fc4.tar
Essentials-1811631b93c5d1d2d731b5aced8b9e780b5b4fc4.tar.gz
Essentials-1811631b93c5d1d2d731b5aced8b9e780b5b4fc4.tar.lz
Essentials-1811631b93c5d1d2d731b5aced8b9e780b5b4fc4.tar.xz
Essentials-1811631b93c5d1d2d731b5aced8b9e780b5b4fc4.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;