From 63f2f96a8c3d30876f3970b27772c512f96a0b9e Mon Sep 17 00:00:00 2001 From: Wizjany Date: Mon, 5 Aug 2013 22:25:52 -0400 Subject: [PATCH] Add convex to the @Command usage info for //sel. --- .../worldedit/commands/SelectionCommands.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/commands/SelectionCommands.java b/src/main/java/com/sk89q/worldedit/commands/SelectionCommands.java index b9acd74e1..ac2080918 100644 --- a/src/main/java/com/sk89q/worldedit/commands/SelectionCommands.java +++ b/src/main/java/com/sk89q/worldedit/commands/SelectionCommands.java @@ -599,12 +599,12 @@ public class SelectionCommands { CuboidClipboard clipboard = session.getClipboard(); Vector size = clipboard.getSize(); Vector offset = clipboard.getOffset(); - + player.print("Size: " + size); player.print("Offset: " + offset); player.print("Cuboid distance: " + size.distance(Vector.ONE)); player.print("# of blocks: " - + (int) (size.getX() * size.getY() * size.getZ())); + + (int) (size.getX() * size.getY() * size.getZ())); return; } @@ -624,7 +624,7 @@ public class SelectionCommands { player.print("Size: " + size); player.print("Cuboid distance: " + region.getMaximumPoint() .distance(region.getMinimumPoint())); - player.print("# of blocks: " + region.getArea()); + player.print("# of blocks: " + region.getArea()); } @@ -658,16 +658,16 @@ public class SelectionCommands { @Command( aliases = { "/distr" }, usage = "", - desc = "Get the distribution of blocks in the selection", + desc = "Get the distribution of blocks in the selection", help = "Gets the distribution of blocks in the selection.\n" + "The -c flag gets the distribution of your clipboard.\n" + "The -d flag separates blocks by data", - flags = "cd", + flags = "cd", min = 0, max = 0 ) - @CommandPermissions("worldedit.analysis.distr") + @CommandPermissions("worldedit.analysis.distr") public void distr(CommandContext args, LocalSession session, LocalPlayer player, EditSession editSession) throws WorldEditException { @@ -725,7 +725,7 @@ public class SelectionCommands { @Command( aliases = { "/sel", ";" }, - usage = "[cuboid|extend|poly|ellipsoid|sphere|cyl]", + usage = "[cuboid|extend|poly|ellipsoid|sphere|cyl|convex]", desc = "Choose a region selector", min = 0, max = 1