Fixes an incorrect permission assignment for global admin and global player command.
Reported via discord.
This commit is contained in:
parent
629159b52d
commit
218e5fc6c4
|
@ -39,7 +39,7 @@ public class ChallengesGlobalPlayerCommand extends CompositeCommand
|
|||
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");
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ public class ChallengesGlobalAdminCommand extends CompositeCommand
|
|||
@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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue