Fix permission link.

This commit is contained in:
BONNe 2021-09-19 21:48:19 +03:00
parent 54696ce8e7
commit 5f4fc315e6
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ public class ChallengesGlobalPlayerCommand extends CompositeCommand
public void setup()
{
this.setOnlyPlayer(true);
this.setPermission("challenges");
this.setPermission("addon.challenges");
this.setParametersHelp("challenges.commands.user.main.parameters");
this.setDescription("challenges.commands.user.main.description");
}

View File

@ -35,7 +35,7 @@ public class ChallengesGlobalAdminCommand extends CompositeCommand
@Override
public void setup()
{
this.setPermission("admin.challenges");
this.setPermission("addon.admin.challenges");
this.setParametersHelp("challenges.commands.admin.main.parameters");
this.setDescription("challenges.commands.admin.main.description");
}