From 0656ef1920f2e4562099f3cd37e70dde9deb5c30 Mon Sep 17 00:00:00 2001 From: wizjany Date: Fri, 1 Mar 2019 19:25:10 -0500 Subject: [PATCH] Fix LayerVisitor stopping early instead of skipping covered columns. --- .../java/com/sk89q/worldedit/function/visitor/LayerVisitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/function/visitor/LayerVisitor.java b/worldedit-core/src/main/java/com/sk89q/worldedit/function/visitor/LayerVisitor.java index f3a191e12..f683637b3 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/function/visitor/LayerVisitor.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/function/visitor/LayerVisitor.java @@ -99,7 +99,7 @@ public class LayerVisitor implements Operation { // Abort if we are underground if (function.isGround(column.toBlockVector3(maxY + 1))) { - return null; + continue; } boolean found = false;