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:
parent
7a99f3356a
commit
2feb7e2d13
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user