mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-01 11:31:43 +00: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
c7f62700d5
commit
386b73dbdb
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue