1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-02-23 16:03:28 +01:00

[Fix] Strip colourcodes from groups

This way groups with colourcodes in the middle of the name work with /who <groupname> ie. §4S§cerveradmin
This commit is contained in:
Luuk Jacobs 2013-03-26 11:43:45 +01:00
parent 7a99f3356a
commit 2feb7e2d13

View File

@ -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)
{