Fixes a mistaken permission for completing multiple challenges at once.

This commit is contained in:
BONNe 2021-04-16 20:38:32 +03:00
parent 66779a75f7
commit 227138a689
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -378,7 +378,7 @@ public class ChallengesGUI extends CommonGUI
if (clickType.isRightClick() &&
challenge.isRepeatable() &&
this.user.hasPermission(this.permissionPrefix + "complete.multiple"))
this.user.hasPermission(this.permissionPrefix + "challenges.multiple"))
{
new MultipleGUI(this.user,
this.addon.getChallengesSettings().getLoreLineLength(),