From 255c20f4ad4b465a659fdd41294d5037775e7ee8 Mon Sep 17 00:00:00 2001 From: Aurora Date: Tue, 26 May 2020 10:11:59 +0200 Subject: [PATCH] Fix recursivePickaxe --- .../com/sk89q/worldedit/command/tool/RecursivePickaxe.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/RecursivePickaxe.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/RecursivePickaxe.java index 5ad798663..e7f31ba11 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/RecursivePickaxe.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/RecursivePickaxe.java @@ -79,9 +79,7 @@ public class RecursivePickaxe implements BlockTool { final BlockReplace replace = new BlockReplace(editSession, (BlockTypes.AIR.getDefaultState())); editSession.setMask(null); RecursiveVisitor visitor = new RecursiveVisitor(new IdMask(editSession), replace, radius); - visitor.visit(pos); - Operations.completeBlindly(visitor); - + recurse(server, editSession, world, pos, origin, radius, initialType, visitor.getVisited()); editSession.flushQueue(); session.remember(editSession); }