Fixed permissions for region loading/saving.

This commit is contained in:
sk89q 2012-10-06 21:47:37 -07:00
parent 6df9c3660b
commit 0951d00da3

View File

@ -955,6 +955,7 @@ public void remove(CommandContext args, CommandSender sender) throws CommandExce
@Command(aliases = {"load", "reload"}, usage = "[world]",
desc = "Reload regions from file", max = 1)
@CommandPermissions({"worldguard.region.load"})
public void load(CommandContext args, CommandSender sender) throws CommandException {
World world = null;
@ -993,6 +994,7 @@ public void load(CommandContext args, CommandSender sender) throws CommandExcept
@Command(aliases = {"save", "write"}, usage = "[world]",
desc = "Re-save regions to file", max = 1)
@CommandPermissions({"worldguard.region.save"})
public void save(CommandContext args, CommandSender sender) throws CommandException {
World world = null;