From 620a4a21a12fda94e43ad4131c7122cdeda2ab35 Mon Sep 17 00:00:00 2001 From: sk89q Date: Sat, 28 Jun 2014 16:30:22 -0700 Subject: [PATCH] Fixed -a in //stack being interpreted as -s. --- src/main/java/com/sk89q/worldedit/command/RegionCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/command/RegionCommands.java b/src/main/java/com/sk89q/worldedit/command/RegionCommands.java index 67e285dcd..5534df372 100644 --- a/src/main/java/com/sk89q/worldedit/command/RegionCommands.java +++ b/src/main/java/com/sk89q/worldedit/command/RegionCommands.java @@ -327,7 +327,7 @@ public class RegionCommands { @Switch('a') boolean ignoreAirBlocks) throws WorldEditException { int affected = editSession.stackCuboidRegion(region, direction, count, !ignoreAirBlocks); - if (ignoreAirBlocks) { + if (moveSelection) { try { final Vector size = region.getMaximumPoint().subtract(region.getMinimumPoint());