Fix river world generation

This commit is contained in:
griffi-gh 2023-03-09 01:27:17 +01:00
parent 647a458ff5
commit 7da7a3dc50

View file

@ -170,7 +170,7 @@ pub fn generate_world(chunk_position: IVec3, seed: u64) -> (BlockData, Vec<Queue
within_heightmap = true; within_heightmap = true;
} }
//Place stone //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; blocks[x][y][z] = Block::Stone;
within_heightmap = true; within_heightmap = true;
} }