We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fc19ec commit 5355379Copy full SHA for 5355379
src/server/terrain/util/generator.rs
@@ -149,7 +149,7 @@ impl Generator {
149
for dz in -bush_radius..bush_radius {
150
for dy in -bush_radius..bush_radius {
151
let distance_from_center = dx * dx + dy * dy + dz * dz;
152
- if distance_from_center <= bush_radius * bush_radius - 1 {
+ if distance_from_center < bush_radius * bush_radius {
153
blocks.push((
154
Vec3 {
155
x: dx as f32,
0 commit comments