From 58b00b6ed51190709d154731d8091c69d2759095 Mon Sep 17 00:00:00 2001 From: Daniel Mills Date: Mon, 3 Aug 2020 23:24:09 -0400 Subject: [PATCH] Revert "Revert "Decorate"" This reverts commit 9d2544f8cbebf344de30ff7f0584b20385d4cf75. --- src/main/java/com/volmit/iris/gen/TerrainChunkGenerator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/volmit/iris/gen/TerrainChunkGenerator.java b/src/main/java/com/volmit/iris/gen/TerrainChunkGenerator.java index be3f14287..f7de9277e 100644 --- a/src/main/java/com/volmit/iris/gen/TerrainChunkGenerator.java +++ b/src/main/java/com/volmit/iris/gen/TerrainChunkGenerator.java @@ -212,7 +212,7 @@ public abstract class TerrainChunkGenerator extends ParallelChunkGenerator decorateUnderwater(biome, sliver, wx, k, wz, rx, rz, block); } - if((carvable && cavernSurface) || (k == Math.max(height, fluidHeight) && block.getMaterial().isSolid() && k < 255 && k > fluidHeight)) + if((carvable && cavernSurface) || (k == Math.max(height, fluidHeight) && block.getMaterial().isSolid() && k < 255 && k >= fluidHeight)) { decorateLand(biome, sliver, wx, k, wz, rx, rz, block); } @@ -309,7 +309,7 @@ public abstract class TerrainChunkGenerator extends ParallelChunkGenerator for(IrisBiomeDecorator i : biome.getDecorators()) { - if(i.getPartOf().equals(DecorationPart.SHORE_LINE) && !touchesSea(rx, rz)) + if(i.getPartOf().equals(DecorationPart.SHORE_LINE) && (!touchesSea(rx, rz) || k != getFluidHeight())) { continue; }