Updating the permission for the /mcpurge command.

This commit is contained in:
Glitchfinder 2013-02-03 13:08:12 -08:00
parent 939586ce1a
commit 84d01362f9
2 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,7 @@ import com.gmail.nossr50.locale.LocaleLoader;
public class McpurgeCommand implements CommandExecutor{ public class McpurgeCommand implements CommandExecutor{
@Override @Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { 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; return true;
} }

View File

@ -344,6 +344,7 @@ permissions:
mcmmo.commands.addlevels.others: true mcmmo.commands.addlevels.others: true
mcmmo.commands.addxp: true mcmmo.commands.addxp: true
mcmmo.commands.addxp.others: true mcmmo.commands.addxp.others: true
mcmmo.commands.mcpurge: true
mcmmo.commands.mmoedit: true mcmmo.commands.mmoedit: true
mcmmo.commands.mmoedit.others: true mcmmo.commands.mmoedit.others: true
mcmmo.tools.mcgod: mcmmo.tools.mcgod:
@ -713,6 +714,7 @@ permissions:
mcmmo.commands.mcability.others: true mcmmo.commands.mcability.others: true
mcmmo.commands.mcgod: true mcmmo.commands.mcgod: true
mcmmo.commands.mcgod.others: true mcmmo.commands.mcgod.others: true
mcmmo.commands.mcpurge: true
mcmmo.commands.mmoedit: true mcmmo.commands.mmoedit: true
mcmmo.commands.mmoedit.others: true mcmmo.commands.mmoedit.others: true
mcmmo.commands.mmoupdate: true mcmmo.commands.mmoupdate: true
@ -767,6 +769,8 @@ permissions:
description: Allows access to the mcgod command for other players description: Allows access to the mcgod command for other players
mcmmo.commands.mcmmo: mcmmo.commands.mcmmo:
description: Allows access to the mcmmo command description: Allows access to the mcmmo command
mcmmo.commands.mcpurge:
description: Allows access to the mcpurge command
mcmmo.commands.mcrank: mcmmo.commands.mcrank:
description: Allows access to the mcrank command description: Allows access to the mcrank command
mcmmo.commands.mcstats: mcmmo.commands.mcstats: