mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Updating the permission for the /mcpurge command.
This commit is contained in:
parent
939586ce1a
commit
84d01362f9
@ -12,7 +12,7 @@ import com.gmail.nossr50.locale.LocaleLoader;
|
||||
public class McpurgeCommand implements CommandExecutor{
|
||||
@Override
|
||||
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
|
||||
if (CommandHelper.noCommandPermissions(sender, "mcmmo.tools.mcremove")) {
|
||||
if (CommandHelper.noCommandPermissions(sender, "mcmmo.commands.mcpurge")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -344,6 +344,7 @@ permissions:
|
||||
mcmmo.commands.addlevels.others: true
|
||||
mcmmo.commands.addxp: true
|
||||
mcmmo.commands.addxp.others: true
|
||||
mcmmo.commands.mcpurge: true
|
||||
mcmmo.commands.mmoedit: true
|
||||
mcmmo.commands.mmoedit.others: true
|
||||
mcmmo.tools.mcgod:
|
||||
@ -713,6 +714,7 @@ permissions:
|
||||
mcmmo.commands.mcability.others: true
|
||||
mcmmo.commands.mcgod: true
|
||||
mcmmo.commands.mcgod.others: true
|
||||
mcmmo.commands.mcpurge: true
|
||||
mcmmo.commands.mmoedit: true
|
||||
mcmmo.commands.mmoedit.others: true
|
||||
mcmmo.commands.mmoupdate: true
|
||||
@ -767,6 +769,8 @@ permissions:
|
||||
description: Allows access to the mcgod command for other players
|
||||
mcmmo.commands.mcmmo:
|
||||
description: Allows access to the mcmmo command
|
||||
mcmmo.commands.mcpurge:
|
||||
description: Allows access to the mcpurge command
|
||||
mcmmo.commands.mcrank:
|
||||
description: Allows access to the mcrank command
|
||||
mcmmo.commands.mcstats:
|
||||
|
Loading…
Reference in New Issue
Block a user