From eaa9872294b8a012dcd3554af63db3ea2a4595b8 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Wed, 13 Jan 2021 17:36:50 +0000 Subject: [PATCH] Revert this for now as it had unintended consquences --- .../java/com/sk89q/worldedit/EditSession.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java b/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java index 2036a419f..194eb697a 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java @@ -1201,10 +1201,6 @@ public class EditSession extends PassthroughExtent implements AutoCloseable { // Pick how we're going to visit blocks RecursiveVisitor visitor = new DirectionalVisitor(mask, replace, origin, direction, (int) (radius * 2 + 1)); - // With queue enabled, FAWE may start attempting to place chunks before the operation is finished. - // This is unnacceptable for recursive operations. - disableQueue(); - // Start at the origin visitor.visit(origin); @@ -1263,10 +1259,6 @@ public class EditSession extends PassthroughExtent implements AutoCloseable { visitor = new DownwardVisitor(mask, replace, origin.getBlockY(), (int) (radius * 2 + 1)); } - // With queue enabled, FAWE may start attempting to place chunks before the operation is finished. - // This is unnacceptable for recursive operations. - disableQueue(); - // Start at the origin visitor.visit(origin); @@ -1747,10 +1739,6 @@ public class EditSession extends PassthroughExtent implements AutoCloseable { } RecursiveVisitor visitor = new RecursiveVisitor(mask, replace, (int) (radius * 2 + 1)); - // With queue enabled, FAWE may start attempting to place chunks before the operation is finished. - // This is unnacceptable for recursive operations. - disableQueue(); - // Around the origin in a 3x3 block for (BlockVector3 position : CuboidRegion.fromCenter(origin, 1)) { if (mask.test(position)) { @@ -1792,10 +1780,6 @@ public class EditSession extends PassthroughExtent implements AutoCloseable { BlockReplace replace = new BlockReplace(this, fluid.getDefaultState()); NonRisingVisitor visitor = new NonRisingVisitor(mask, replace); - // With queue enabled, FAWE may start attempting to place chunks before the operation is finished. - // This is unnacceptable for recursive operations. - disableQueue(); - // Around the origin in a 3x3 block for (BlockVector3 position : CuboidRegion.fromCenter(origin, 1)) { if (liquidMask.test(position)) {