little modif

This commit is contained in:
Jonathan Trottier 2023-11-27 15:57:31 -05:00
parent 114c1631a8
commit 2f5579875e

View File

@ -67,7 +67,7 @@ Chunk::Chunk(unsigned int x, unsigned int y, int64_t seed) : m_posX(x), m_posY(y
for (int iy = 0; iy < 14; ++iy) {
if (iz == 4)
if (GetBlock(ix, iy, iz) == BTYPE_AIR)
Structure(ix, iy, iz, 2);
Structure(ix, iy, iz, 1);
}
}
if (ratio == 5)