summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiels <niels.breuker@outlook.com>2024-08-11 13:50:14 +0200
committerNiels <niels.breuker@outlook.com>2024-08-11 13:50:14 +0200
commitf02f53bbcd39c303fdd764c67f9aeb8208381d29 (patch)
tree209bd0921c3b08be39fc5de3e1bdf0ee46f381b7
parentThe second value in Rotation is pitch not roll (#5573) (diff)
downloadcuberite-biomal-bedrock-shape.tar
cuberite-biomal-bedrock-shape.tar.gz
cuberite-biomal-bedrock-shape.tar.bz2
cuberite-biomal-bedrock-shape.tar.lz
cuberite-biomal-bedrock-shape.tar.xz
cuberite-biomal-bedrock-shape.tar.zst
cuberite-biomal-bedrock-shape.zip
-rw-r--r--src/Generating/CompoGenBiomal.cpp5
1 files changed, 4 insertions, 1 deletions
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);
+ }
}