Fix init errors

This commit is contained in:
Daniel Mills 2021-07-18 19:35:56 -04:00
parent d5066adb4b
commit dd54a714cb

View File

@ -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) {
PrecisionStopwatch ps = PrecisionStopwatch.start();
TerrainChunk tc = TerrainChunk.create(world, biome);
generateChunkRawData(getComposite().getWorld(), x, z, tc).run();
if(!getComposite().getWorld().hasRealWorld())
{
getComposite().getWorld().bind(world);
}
generateChunkRawData(getComposite().getWorld(), x, z, tc).run();
generated++;
ps.end();