Coolstuff

This commit is contained in:
Daniel Mills
2021-07-19 11:05:52 -04:00
parent 79bf3d8d4f
commit 3b7ef5b262
3 changed files with 78 additions and 1 deletions

View File

@@ -444,7 +444,8 @@ 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();
IrisWorld ww = (getComposite() == null || getComposite().getWorld() == null) ? IrisWorld.fromWorld(world) : getComposite().getWorld();
generateChunkRawData(ww, x, z, tc).run();
if(!getComposite().getWorld().hasRealWorld())
{