This commit is contained in:
MihailRis
2024-08-18 17:29:02 +03:00
parent 2a506e9891
commit 810519fb4d
3 changed files with 27 additions and 2 deletions
+2 -2
View File
@@ -15,14 +15,14 @@ WorldGenerator::WorldGenerator(const GeneratorDef& def, const Content* content)
static inline void generate_pole(
const BlocksLayers& layers,
int height,
int top,
int bottom,
int seaLevel,
voxel* voxels,
int x,
int z
) {
uint y = height;
uint y = top;
uint layerExtension = 0;
for (const auto& layer : layers.layers) {
// skip layer if can't be generated under sea level