Skip to content

Commit

Permalink
Fix permission link.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Sep 19, 2021
1 parent 54696ce commit 5f4fc31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public ChallengesGlobalPlayerCommand(ChallengesAddon addon, List<GameModeAddon>
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");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public ChallengesGlobalAdminCommand(ChallengesAddon addon, List<GameModeAddon> g
@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");
}
Expand Down

0 comments on commit 5f4fc31

Please sign in to comment.