diff options
Diffstat (limited to 'bonemeal.lua')
-rw-r--r-- | bonemeal.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bonemeal.lua b/bonemeal.lua index 0596893..fae717b 100644 --- a/bonemeal.lua +++ b/bonemeal.lua @@ -105,15 +105,15 @@ local function more_tree(pos, object) -- grow L-system tree
minetest.remove_node(pos)
minetest.spawn_tree(pos, object)
-print ("--- table")
+
elseif type(object) == "string" and minetest.registered_nodes[object] then
-- place node
minetest.set_node(pos, {name = object})
-print ("--- string")
+
elseif type(object) == "function" then
-- function
object(pos)
-print ("--- function")
+
end
end
|