Skip to content

Commit 7cdf6bd

Browse files
Update src/client/terrain/util/generator.rs
1 parent 0e63673 commit 7cdf6bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/client/terrain/util/generator.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ impl Generator {
1919
return;
2020
}
2121

22-
for x in 0..=CHUNK_SIZE + 1 {
23-
for y in 0..=CHUNK_SIZE + 1 {
24-
for z in 0..=CHUNK_SIZE + 1 {
22+
for x in 0..CHUNK_SIZE + 2 {
23+
for y in 0..CHUNK_SIZE + 2 {
24+
for z in 0..CHUNK_SIZE + 2 {
2525
let local_position = Vec3::new(x as f32, y as f32, z as f32);
2626
let block_position = chunk_origin + local_position;
2727
let block = self.generate_block(block_position);

0 commit comments

Comments
 (0)