From def986710f99fe426f9a6fef673c5707c49f6c8d 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 834fca3ae..ffd2b4466 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 @@ -17,7 +17,7 @@ public abstract class CharBlocks implements IBlocks { }; public static final Section EMPTY = new Section() { @Override - public synchronized final 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);