mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fix init errors
This commit is contained in:
parent
d5066adb4b
commit
dd54a714cb
@ -441,13 +441,13 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
|
|||||||
public ChunkData generateChunkData(@NotNull World world, @NotNull Random ignored, int x, int z, @NotNull BiomeGrid biome) {
|
public ChunkData generateChunkData(@NotNull World world, @NotNull Random ignored, int x, int z, @NotNull BiomeGrid biome) {
|
||||||
PrecisionStopwatch ps = PrecisionStopwatch.start();
|
PrecisionStopwatch ps = PrecisionStopwatch.start();
|
||||||
TerrainChunk tc = TerrainChunk.create(world, biome);
|
TerrainChunk tc = TerrainChunk.create(world, biome);
|
||||||
|
generateChunkRawData(getComposite().getWorld(), x, z, tc).run();
|
||||||
|
|
||||||
if(!getComposite().getWorld().hasRealWorld())
|
if(!getComposite().getWorld().hasRealWorld())
|
||||||
{
|
{
|
||||||
getComposite().getWorld().bind(world);
|
getComposite().getWorld().bind(world);
|
||||||
}
|
}
|
||||||
|
|
||||||
generateChunkRawData(getComposite().getWorld(), x, z, tc).run();
|
|
||||||
generated++;
|
generated++;
|
||||||
ps.end();
|
ps.end();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user