From d25669abe7079ee3bc46b013332c3fde067243fd Mon Sep 17 00:00:00 2001 From: Maddy Miller Date: Wed, 24 Apr 2024 20:33:44 +1000 Subject: [PATCH] Disable chunk batching by default (#2509) --- .../src/main/java/com/sk89q/worldedit/EditSession.java | 5 +---- 1 file changed, 1 insertion(+), 4 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 7cccce3ebd..f39025cef4 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java @@ -272,7 +272,7 @@ public String getDisplayName() { @SuppressWarnings("deprecation") MultiStageReorder reorder = new MultiStageReorder(extent, false); extent = traceIfNeeded(reorderExtent = reorder); - extent = traceIfNeeded(chunkBatchingExtent = new ChunkBatchingExtent(extent)); + extent = traceIfNeeded(chunkBatchingExtent = new ChunkBatchingExtent(extent, false)); extent = wrapExtent(extent, eventBus, event, Stage.BEFORE_REORDER); if (watchdog != null) { // reset before buffering extents, since they may buffer all changes @@ -360,9 +360,6 @@ private List getActiveTracingExtents() { * chunk batching}. */ public void enableStandardMode() { - if (chunkBatchingExtent != null) { - setBatchingChunks(true); - } } /**