From d5d09ba5864487abcfd45197594e6c90dded5d03 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Wed, 7 Oct 2020 15:52:48 +0100 Subject: [PATCH] Remove deep synchronisation that is a very plausible cause of circular locking. This may be a fix for #685 --- .../com/boydti/fawe/beta/implementation/blocks/CharBlocks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/blocks/CharBlocks.java b/worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/blocks/CharBlocks.java index c62207a1a..a94cc84f8 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/blocks/CharBlocks.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/blocks/CharBlocks.java @@ -21,7 +21,7 @@ public abstract class CharBlocks implements IBlocks { }; public static final Section EMPTY = new Section() { @Override - public final synchronized char[] get(CharBlocks blocks, int layer) { + public final char[] get(CharBlocks blocks, int layer) { char[] arr = blocks.blocks[layer]; if (arr == null) { arr = blocks.blocks[layer] = blocks.update(layer, null);