mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Tests
This commit is contained in:
parent
15c65ad4e1
commit
c72511da6a
@ -324,10 +324,7 @@ public class Chunk {
|
||||
Section section = sections.get(sectionIndex);
|
||||
if (section == null) {
|
||||
section = Section.newSection();
|
||||
synchronized (sections)
|
||||
{
|
||||
sections.set(sectionIndex, section);
|
||||
}
|
||||
sections.set(sectionIndex, section);
|
||||
}
|
||||
section.setBlockStateAt(blockX, blockY, blockZ, state, cleanup);
|
||||
}
|
||||
|
@ -536,7 +536,7 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
|
||||
}
|
||||
|
||||
@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
|
||||
{int ox = x << 4;
|
||||
int oz = z << 4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user