mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-15 21:04:04 +00:00
Update WhoHasCMD.java
This commit is contained in:
@@ -70,7 +70,7 @@ public class WhoHasCMD extends PlexCommand
|
|||||||
{
|
{
|
||||||
return Arrays.stream(Material.values()).map(Enum::name).toList();
|
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");
|
return Collections.singletonList("clear");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user