mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 02:03:59 +00:00
Try get chunk
This commit is contained in:
parent
c72511da6a
commit
5e0b4e1be6
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user