Check higher for trees
This commit is contained in:
parent
44e977705b
commit
fdf2c096a8
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
{name = "ctf_barrier:ind_stone"})
|
{name = "ctf_barrier:ind_stone"})
|
||||||
|
|
||||||
-- Check for trees
|
-- Check for trees
|
||||||
for y = flag.y, flag.y + 2 do
|
for y = flag.y, flag.y + 3 do
|
||||||
for x = flag.x - 3, flag.x + 3 do
|
for x = flag.x - 3, flag.x + 3 do
|
||||||
for z = flag.z - 3, flag.z + 3 do
|
for z = flag.z - 3, flag.z + 3 do
|
||||||
local pos = {x=x, y=y, z=z}
|
local pos = {x=x, y=y, z=z}
|
||||||
|
|
Loading…
Reference in a new issue