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

View File

@ -536,7 +536,7 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
}
@Override
public synchronized void directWriteChunk(IrisWorld w, int x, int z, NBTWorld writer) {
public void directWriteChunk(IrisWorld w, int x, int z, NBTWorld writer) {
try
{int ox = x << 4;
int oz = z << 4;