Skip to content

Commit 878f647

Browse files
committed
Since when does this work correctly?
1 parent a89eb56 commit 878f647

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

init.lua

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,12 +288,7 @@ function yappy.generate(minp, maxp, seed, regen)
288288
-- Sea ground
289289
data[vi] = c_middle
290290
elseif y == surf then
291-
if tree > 0 and
292-
x + 4 < maxp.x and
293-
x - 4 > minp.x and
294-
y + 10 < maxp.y and
295-
z + 4 < maxp.z and
296-
z - 4 > minp.z then
291+
if tree > 0 then
297292
trees[tree - 1].action(vector.new(x, y + 1, z), data, area, seed)
298293
data[vi] = c_middle
299294
else

0 commit comments

Comments
 (0)