mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2024-12-26 18:40:18 +01:00
fix copy&paste error
This commit is contained in:
parent
36eea79c4d
commit
4193ffe206
@ -555,7 +555,7 @@ function plantslib:grow_plants(opts)
|
||||
local root_node = minetest.get_node({x=pos.x, y=pos.y-options.height_limit, z=pos.z})
|
||||
local walldir = nil
|
||||
if options.need_wall and options.verticals_list then
|
||||
walldir = plantslib:find_adjacent_wall(p_top, options.verticals_list, biome.choose_random_wall)
|
||||
walldir = plantslib:find_adjacent_wall(p_top, options.verticals_list, options.choose_random_wall)
|
||||
end
|
||||
if n_top.name == "air" and (not options.need_wall or (options.need_wall and walldir))
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user