1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-12-26 02:20:20 +01:00

fix copy&paste error

This commit is contained in:
Vanessa Ezekowitz 2015-02-17 14:37:49 -05:00
parent 36eea79c4d
commit 4193ffe206

View File

@ -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