Fix river world generation

This commit is contained in:
griffi-gh 2023-03-09 01:27:17 +01:00
parent 74533db52c
commit 951d8e35e3

View file

@ -170,7 +170,7 @@ pub fn generate_world(chunk_position: IVec3, seed: u64) -> (BlockData, Vec<Queue
within_heightmap = true;
}
//Place stone
for y in 0..local_height(height - 1, chunk_position) {
for y in 0..local_height(height, chunk_position) {
blocks[x][y][z] = Block::Stone;
within_heightmap = true;
}