From b31cfb4c364c5eef0c803e5ed028a95aabaaaf25 Mon Sep 17 00:00:00 2001 From: NiLSPACE Date: Sun, 3 Nov 2024 13:08:21 +0100 Subject: Make biomal composition gen respect the shapegen when placing bedrock (#5579) --- src/Generating/CompoGenBiomal.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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