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