mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-18 20:41:37 +02: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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user