Fixed /region setparent.

This commit is contained in:
sk89q 2011-04-03 10:35:06 -07:00
parent 21a04cc8c8
commit 2e7f96aab0

View File

@ -611,7 +611,7 @@ public static void setPriority(CommandContext args, WorldGuardPlugin plugin,
@Command(aliases = {"setparent"}, @Command(aliases = {"setparent"},
usage = "<id> [parent-id]", usage = "<id> [parent-id]",
desc = "Set the parent of a region", desc = "Set the parent of a region",
flags = "", min = 2, max = 1) flags = "", min = 1, max = 2)
public static void setParent(CommandContext args, WorldGuardPlugin plugin, public static void setParent(CommandContext args, WorldGuardPlugin plugin,
CommandSender sender) throws CommandException { CommandSender sender) throws CommandException {
Player player = plugin.checkPlayer(sender); Player player = plugin.checkPlayer(sender);