From 9f4d470f7d75d1c5681c41b40173ec62cacdaff7 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Sun, 4 Aug 2013 01:23:13 +0200 Subject: [PATCH] Made //move operate on the actual region instead of its bounding box. --- src/main/java/com/sk89q/worldedit/commands/RegionCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/commands/RegionCommands.java b/src/main/java/com/sk89q/worldedit/commands/RegionCommands.java index 8313f076e..2c952959e 100644 --- a/src/main/java/com/sk89q/worldedit/commands/RegionCommands.java +++ b/src/main/java/com/sk89q/worldedit/commands/RegionCommands.java @@ -282,7 +282,7 @@ public class RegionCommands { replace = new BaseBlock(BlockID.AIR); } - int affected = editSession.moveCuboidRegion(session.getSelection(player.getWorld()), + int affected = editSession.moveRegion(session.getSelection(player.getWorld()), dir, count, true, replace); if (args.hasFlag('s')) {