From f02f53bbcd39c303fdd764c67f9aeb8208381d29 Mon Sep 17 00:00:00 2001 From: Niels Date: Sun, 11 Aug 2024 13:50:14 +0200 Subject: Make biomal composition gen respect the shapegen when placing bedrock --- src/Generating/CompoGenBiomal.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Generating/CompoGenBiomal.cpp b/src/Generating/CompoGenBiomal.cpp index 967a4a89c..fb7b89422 100644 --- a/src/Generating/CompoGenBiomal.cpp +++ b/src/Generating/CompoGenBiomal.cpp @@ -456,7 +456,10 @@ protected: } HasHadWater = true; } // for y - a_ChunkDesc.SetBlockType(a_RelX, 0, a_RelZ, E_BLOCK_BEDROCK); + if (a_ShapeColumn[0] > 0) + { + a_ChunkDesc.SetBlockType(a_RelX, 0, a_RelZ, E_BLOCK_BEDROCK); + } } -- cgit v1.2.3