Update WhoHasCMD.java

This commit is contained in:
Telesphoreo 2024-02-04 13:32:02 -06:00 committed by GitHub
parent ee9a0aafa5
commit 3f5ae673ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class WhoHasCMD extends PlexCommand
{
return Arrays.stream(Material.values()).map(Enum::name).toList();
}
else if (args.length == 2 && silentCheckPermission(sender, this.getPermission()))
else if (args.length == 2 && silentCheckPermission(sender, "plex.whohas.clear"))
{
return Collections.singletonList("clear");
}