mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-23 06:45:04 +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;
|
continue;
|
||||||
}
|
}
|
||||||
final String group = onlineUser.getGroup().toLowerCase();
|
final String group = Util.stripFormat(onlineUser.getGroup().toLowerCase());
|
||||||
List<User> list = playerList.get(group);
|
List<User> list = playerList.get(group);
|
||||||
if (list == null)
|
if (list == null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user