Skip to content

Commit 5355379

Browse files
Fix linter
1 parent 6fc19ec commit 5355379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/terrain/util/generator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl Generator {
149149
for dz in -bush_radius..bush_radius {
150150
for dy in -bush_radius..bush_radius {
151151
let distance_from_center = dx * dx + dy * dy + dz * dz;
152-
if distance_from_center <= bush_radius * bush_radius - 1 {
152+
if distance_from_center < bush_radius * bush_radius {
153153
blocks.push((
154154
Vec3 {
155155
x: dx as f32,

0 commit comments

Comments
 (0)