...and make it local.

This commit is contained in:
Vanessa Ezekowitz 2014-05-24 17:08:15 -04:00
parent 591a917e21
commit 753cb01234

View File

@ -182,7 +182,7 @@ function plantslib:search_for_surfaces(minp, maxp, biomedef, node_or_function_or
minetest.remove_node(pos) minetest.remove_node(pos)
end end
objtype = type(node_or_function_or_model) local objtype = type(node_or_function_or_model)
if objtype == "table" then if objtype == "table" then
plantslib:generate_tree(pos, node_or_function_or_model) plantslib:generate_tree(pos, node_or_function_or_model)