summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiLSPACE <NiLSPACE@users.noreply.github.com>2024-11-03 13:08:21 +0100
committerGitHub <noreply@github.com>2024-11-03 13:08:21 +0100
commitb31cfb4c364c5eef0c803e5ed028a95aabaaaf25 (patch)
tree69470a46faa31260671d519b58476a646bf02b19
parentUpdate Cuberite Root CA Cert - ISRG X1 Root now used. (diff)
downloadcuberite-b31cfb4c364c5eef0c803e5ed028a95aabaaaf25.tar
cuberite-b31cfb4c364c5eef0c803e5ed028a95aabaaaf25.tar.gz
cuberite-b31cfb4c364c5eef0c803e5ed028a95aabaaaf25.tar.bz2
cuberite-b31cfb4c364c5eef0c803e5ed028a95aabaaaf25.tar.lz
cuberite-b31cfb4c364c5eef0c803e5ed028a95aabaaaf25.tar.xz
cuberite-b31cfb4c364c5eef0c803e5ed028a95aabaaaf25.tar.zst
cuberite-b31cfb4c364c5eef0c803e5ed028a95aabaaaf25.zip
Diffstat (limited to '')
-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);
+ }
}