mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-12-30 21:07:47 +01:00
Fixes a mistaken permission for completing multiple challenges at once.
This commit is contained in:
parent
66779a75f7
commit
227138a689
@ -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");
|
||||
}
|
||||
|
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user