correct command permission check

This commit is contained in:
zznty
2023-11-10 17:34:03 +07:00
parent 78164fd6be
commit bb5750f754
3 changed files with 3 additions and 3 deletions

View File

@@ -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()))}";
}
}