mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-21 22:38:41 -06:00
Fix river world generation
This commit is contained in:
parent
74533db52c
commit
951d8e35e3
|
@ -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