mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Tests
This commit is contained in:
parent
15c65ad4e1
commit
c72511da6a
@ -324,10 +324,7 @@ public class Chunk {
|
|||||||
Section section = sections.get(sectionIndex);
|
Section section = sections.get(sectionIndex);
|
||||||
if (section == null) {
|
if (section == null) {
|
||||||
section = Section.newSection();
|
section = Section.newSection();
|
||||||
synchronized (sections)
|
sections.set(sectionIndex, section);
|
||||||
{
|
|
||||||
sections.set(sectionIndex, section);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
section.setBlockStateAt(blockX, blockY, blockZ, state, cleanup);
|
section.setBlockStateAt(blockX, blockY, blockZ, state, cleanup);
|
||||||
}
|
}
|
||||||
|
@ -536,7 +536,7 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void directWriteChunk(IrisWorld w, int x, int z, NBTWorld writer) {
|
public synchronized 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