From 65939fa8785898955fa6cecf1362013e46691d18 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Fri, 16 Mar 2018 17:20:27 +1100 Subject: [PATCH] Fix cut --- .../sk89q/worldedit/function/operation/ForwardExtentCopy.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/java/com/sk89q/worldedit/function/operation/ForwardExtentCopy.java b/core/src/main/java/com/sk89q/worldedit/function/operation/ForwardExtentCopy.java index 35e8d24e..df652dda 100644 --- a/core/src/main/java/com/sk89q/worldedit/function/operation/ForwardExtentCopy.java +++ b/core/src/main/java/com/sk89q/worldedit/function/operation/ForwardExtentCopy.java @@ -272,7 +272,6 @@ public class ForwardExtentCopy implements Operation { Operation blockCopy = null; PositionTransformExtent transExt = null; if (!currentTransform.isIdentity()) { - System.out.println("Has translation"); if (!(currentTransform instanceof AffineTransform) || ((AffineTransform) currentTransform).isOffAxis()) { transExt = new PositionTransformExtent(source, currentTransform.inverse()); transExt.setOrigin(from); @@ -307,7 +306,7 @@ public class ForwardExtentCopy implements Operation { boolean overlap = (disAbs.getBlockX() < size.getBlockX() && disAbs.getBlockY() < size.getBlockY() && disAbs.getBlockZ() < size.getBlockZ()); RegionFunction copySrcFunc = sourceFunction; - if (overlap) { + if (overlap && translation.length() != 0) { MutableBlockVector mutable = new MutableBlockVector(); int x = translation.getBlockX();