mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Try get chunk
This commit is contained in:
parent
c72511da6a
commit
5e0b4e1be6
@ -265,7 +265,7 @@ public class NBTWorld {
|
|||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Chunk getChunk(int x, int z) {
|
public synchronized Chunk getChunk(int x, int z) {
|
||||||
MCAFile mca = getMCA(x >> 5, z >> 5);
|
MCAFile mca = getMCA(x >> 5, z >> 5);
|
||||||
Chunk c = mca.getChunk(x & 31, z & 31);
|
Chunk c = mca.getChunk(x & 31, z & 31);
|
||||||
|
|
||||||
|
@ -536,7 +536,7 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@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
|
try
|
||||||
{int ox = x << 4;
|
{int ox = x << 4;
|
||||||
int oz = z << 4;
|
int oz = z << 4;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user