diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-01-09 12:25:33 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-01-09 12:25:33 +0000 |
commit | ad7b63b86971ccae7b1abc008196c9e9553b54ec (patch) | |
tree | 05fe8e2a0ea0e9b8d4939cffaed46e6abb0cf9f4 /onion.lua | |
parent | 94873618b17859a6f3cc9c3a02dcc88b511075cf (diff) |
Optimize and tidy code.
Diffstat (limited to 'onion.lua')
-rw-r--r-- | onion.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ minetest.register_abm({ -- grow
node.name = "ethereal:onion_"..minetest.get_item_group(node.name, "onion") + 1
- minetest.set_node(pos, node)
+ minetest.swap_node(pos, node)
end
})
|