mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Sync gen of engines
This commit is contained in:
parent
a921845ae3
commit
70fef94d15
@ -242,11 +242,7 @@ public class IrisEngineCompound implements EngineCompound {
|
||||
}
|
||||
|
||||
cbiome.set(engine.getTarget().isInverted() ? cbiome.get().invertY() : cbiome.get());
|
||||
e.queue(() -> {
|
||||
engine.generate(x, z, cblock.get(), cpblock.get(), cbiome.get());
|
||||
synchronized (insert)
|
||||
{
|
||||
insert[index.get()] = () -> {
|
||||
blocks.insert(0, doffset, 0, cblock.get());
|
||||
|
||||
if(structures)
|
||||
@ -255,19 +251,8 @@ public class IrisEngineCompound implements EngineCompound {
|
||||
}
|
||||
|
||||
biomes.insert(0, doffset, 0, cbiome.get());
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
offset += height;
|
||||
}
|
||||
|
||||
e.complete();
|
||||
|
||||
for(i = 0; i < insert.length; i++)
|
||||
{
|
||||
insert[i].run();
|
||||
}
|
||||
}
|
||||
|
||||
wallClock.put(p.getMilliseconds());
|
||||
|
Loading…
x
Reference in New Issue
Block a user