forked from mtcontrib/plantlife_modpack
		
	fix copy&paste error
This commit is contained in:
		@@ -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 root_node = minetest.get_node({x=pos.x, y=pos.y-options.height_limit, z=pos.z})
 | 
				
			||||||
			local walldir = nil
 | 
								local walldir = nil
 | 
				
			||||||
			if options.need_wall and options.verticals_list then
 | 
								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
 | 
								end
 | 
				
			||||||
			if n_top.name == "air" and (not options.need_wall or (options.need_wall and walldir))
 | 
								if n_top.name == "air" and (not options.need_wall or (options.need_wall and walldir))
 | 
				
			||||||
			  then
 | 
								  then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user