3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-09-18 22:10:03 +02:00

Added support for //stack [-a] to not stack air.

Dieser Commit ist enthalten in:
sk89q 2011-01-29 12:03:50 -08:00
Ursprung aed274a1a5
Commit 3d98c7667d

Datei anzeigen

@ -205,6 +205,7 @@ public class RegionCommands {
@Command(
aliases = {"/stack"},
usage = "[count] [direction]",
flags = "a",
desc = "Repeat the contents of the selection",
min = 0,
max = 2
@ -219,7 +220,7 @@ public class RegionCommands {
args.argsLength() > 1 ? args.getString(1).toLowerCase() : "me");
int affected = editSession.stackCuboidRegion(session.getRegion(),
dir, count, true);
dir, count, !args.hasFlag('a'));
player.print(affected + " blocks changed. Undo with //undo");
}
}