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()))}";
|
||||
}
|
||||
}
|
||||
|
@@ -2,5 +2,5 @@
|
||||
<PluginManifest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<Name>LuckPerms.Torch</Name>
|
||||
<Guid>7E4B3CC8-64FA-416E-8910-AACDF2DA5E2C</Guid>
|
||||
<Version>v5.4.106.1</Version>
|
||||
<Version>v5.4.106.2</Version>
|
||||
</PluginManifest>
|
Reference in New Issue
Block a user