correct command permission check
This commit is contained in:
@@ -7,6 +7,6 @@ public static class CommandExtensions
|
||||
{
|
||||
public static string GetPermissionString(this Command command)
|
||||
{
|
||||
return $"minecraft.command.{string.Join(".", command.Path.Select(b => b.ToLowerInvariant()))}";
|
||||
return $"command.{string.Join(".", command.Path.Select(b => b.ToLowerInvariant()))}";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user