From 845c32bd18af9430220b290800c45e4b794a931a Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Sat, 19 Sep 2020 20:46:46 +0100 Subject: [PATCH] Fix #639 looks like we too speedy --- .../fawe/beta/implementation/queue/SingleThreadQueueExtent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/queue/SingleThreadQueueExtent.java b/worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/queue/SingleThreadQueueExtent.java index 571191418..72c449639 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/queue/SingleThreadQueueExtent.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/beta/implementation/queue/SingleThreadQueueExtent.java @@ -216,7 +216,7 @@ public class SingleThreadQueueExtent extends ExtentBatchProcessorHolder implemen } @Override - public final IQueueChunk getOrCreateChunk(int x, int z) { + public synchronized final IQueueChunk getOrCreateChunk(int x, int z) { final long pair = (long) x << 32 | z & 0xffffffffL; if (pair == lastPair) { return lastChunk;