mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 22:32:04 +00:00
Try get chunk
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user