summaryrefslogtreecommitdiff
path: root/flowers.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-01-21 14:59:28 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-01-21 14:59:28 +0000
commit87031b60518731f62dbce0ffb1601b0c34d506c9 (patch)
tree707258c7ca090302fbbc7114966d551c849881da /flowers.lua
parentbd0fae584c0b0c3a04d41608acb4dfaf77554d91 (diff)
Optimize code, allfaces leaves by default, leaves walkable by default
Diffstat (limited to 'flowers.lua')
-rw-r--r--flowers.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/flowers.lua b/flowers.lua
index cf9af0b..1f902a0 100644
--- a/flowers.lua
+++ b/flowers.lua
@@ -90,9 +90,7 @@ minetest.register_abm({
return
end
- if minetest.get_node(seedling).name == "air" then
- minetest.swap_node(seedling, {name = node.name})
- end
+ minetest.swap_node(seedling, {name = node.name})
end
end,
})