From 4f3db6f3dae7add494349fd930f914119b164825 Mon Sep 17 00:00:00 2001 From: IronApollo Date: Sat, 1 Feb 2020 20:28:48 -0500 Subject: [PATCH] Attempted fix for #329 Removing this code seemed to fix the issue while not breaking general editing abilities. Needs testing to determine any unintended side effects! --- .../bukkit/adapter/mc1_15_2/BukkitGetBlocks_1_15_2.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter/mc1_15_2/BukkitGetBlocks_1_15_2.java b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter/mc1_15_2/BukkitGetBlocks_1_15_2.java index 5424c4495..334941957 100644 --- a/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter/mc1_15_2/BukkitGetBlocks_1_15_2.java +++ b/worldedit-bukkit/src/main/java/com/boydti/fawe/bukkit/adapter/mc1_15_2/BukkitGetBlocks_1_15_2.java @@ -189,9 +189,10 @@ public class BukkitGetBlocks_1_15_2 extends CharGetBlocks { if (this.sections == null) { this.sections = sections.clone(); } - if (this.sections[layer] != section) { - this.sections[layer] = section; - } + //TODO: Understand why this causes #329, what the purpose of this is, and what may or may not break after commenting this out. +// if (this.sections[layer] != section) { +// this.sections[layer] = section; +// } this.blocks[layer] = arr; } }