mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-28 05:25:20 +01:00
Fixed /region setparent.
This commit is contained in:
parent
21a04cc8c8
commit
2e7f96aab0
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user