summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuuk Jacobs <kukelekuuk00@radthorne.info>2013-03-26 11:43:45 +0100
committerLuuk Jacobs <kukelekuuk00@radthorne.info>2013-03-26 11:43:45 +0100
commit2feb7e2d135eea176363c39b10a8a37b6e6a6546 (patch)
tree9b9eb23fc9dd08b29aea30232ba1d95cc2d6fb0b
parent7a99f3356a2203fe95da8b1f0d00ac609d423b46 (diff)
downloadEssentials-2feb7e2d135eea176363c39b10a8a37b6e6a6546.tar
Essentials-2feb7e2d135eea176363c39b10a8a37b6e6a6546.tar.gz
Essentials-2feb7e2d135eea176363c39b10a8a37b6e6a6546.tar.lz
Essentials-2feb7e2d135eea176363c39b10a8a37b6e6a6546.tar.xz
Essentials-2feb7e2d135eea176363c39b10a8a37b6e6a6546.zip
[Fix] Strip colourcodes from groups
This way groups with colourcodes in the middle of the name work with /who <groupname> ie. §4S§cerveradmin
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandlist.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandlist.java b/Essentials/src/com/earth2me/essentials/commands/Commandlist.java
index 34aacdd53..02c46a176 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandlist.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandlist.java
@@ -73,7 +73,7 @@ public class Commandlist extends EssentialsCommand
{
continue;
}
- final String group = onlineUser.getGroup().toLowerCase();
+ final String group = Util.stripFormat(onlineUser.getGroup().toLowerCase());
List<User> list = playerList.get(group);
if (list == null)
{