looks like we too speedy
This commit is contained in:
dordsor21 2020-09-19 20:46:46 +01:00
parent be0e33746c
commit 845c32bd18
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -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;