From 386b73dbdba4fb9b6945606a7cac1638b4ed820f Mon Sep 17 00:00:00 2001 From: Luuk Jacobs Date: Tue, 26 Mar 2013 11:43:45 +0100 Subject: [Fix] Strip colourcodes from groups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This way groups with colourcodes in the middle of the name work with /who ie. §4S§cerveradmin --- Essentials/src/com/earth2me/essentials/commands/Commandlist.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 list = playerList.get(group); if (list == null) { -- cgit v1.2.3