Add convex to the @Command usage info for //sel.

Dieser Commit ist enthalten in:
Wizjany 2013-08-05 22:25:52 -04:00 committet von wizjany
Ursprung d4a7f7b48a
Commit 63f2f96a8c

Datei anzeigen

@ -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