diff options
author | Alexander Harkness <me@bearbin.net> | 2024-11-04 23:28:57 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2024-11-04 23:28:57 +0100 |
commit | 09ab9dba1b46f1731276d3fd818293590e3e6e59 (patch) | |
tree | 06613303f5500224b04cc68cfb05cebd96d9cabe /src/Generating | |
parent | Count non-air blocks and use the real count not 4096. (diff) | |
parent | Temp fix for disappearing chunk sections in 1.14 (#5560) (diff) | |
download | cuberite-09ab9dba1b46f1731276d3fd818293590e3e6e59.tar cuberite-09ab9dba1b46f1731276d3fd818293590e3e6e59.tar.gz cuberite-09ab9dba1b46f1731276d3fd818293590e3e6e59.tar.bz2 cuberite-09ab9dba1b46f1731276d3fd818293590e3e6e59.tar.lz cuberite-09ab9dba1b46f1731276d3fd818293590e3e6e59.tar.xz cuberite-09ab9dba1b46f1731276d3fd818293590e3e6e59.tar.zst cuberite-09ab9dba1b46f1731276d3fd818293590e3e6e59.zip |
Diffstat (limited to 'src/Generating')
-rw-r--r-- | src/Generating/CompoGenBiomal.cpp | 5 |
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); + } } |