mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-25 05:08:21 -06:00
Fix river world generation
This commit is contained in:
parent
647a458ff5
commit
7da7a3dc50
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue