Skip to content

Commit

Permalink
Fixes an incorrect permission assignment for global admin and global …
Browse files Browse the repository at this point in the history
…player command.

Reported via discord.
  • Loading branch information
BONNe committed May 13, 2022
1 parent 629159b commit 218e5fc
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 @@ -39,7 +39,7 @@ public ChallengesGlobalPlayerCommand(ChallengesAddon addon, List<GameModeAddon>
public void setup()
{
this.setOnlyPlayer(true);
this.setPermission("addon.challenges");
this.setPermission("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 @@ -37,7 +37,7 @@ public ChallengesGlobalAdminCommand(ChallengesAddon addon, List<GameModeAddon> g
@Override
public void setup()
{
this.setPermission("addon.admin.challenges");
this.setPermission("admin.challenges");
this.setParametersHelp("challenges.commands.admin.main.parameters");
this.setDescription("challenges.commands.admin.main.description");
}
Expand Down

0 comments on commit 218e5fc

Please sign in to comment.