Try get chunk

This commit is contained in:
Daniel Mills
2021-07-22 21:01:10 -04:00
parent c72511da6a
commit 5e0b4e1be6
2 changed files with 2 additions and 2 deletions

View File

@@ -265,7 +265,7 @@ public class NBTWorld {
return s;
}
public Chunk getChunk(int x, int z) {
public synchronized Chunk getChunk(int x, int z) {
MCAFile mca = getMCA(x >> 5, z >> 5);
Chunk c = mca.getChunk(x & 31, z & 31);