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 /strawberry.lua | |
parent | 94873618b17859a6f3cc9c3a02dcc88b511075cf (diff) |
Optimize and tidy code.
Diffstat (limited to 'strawberry.lua')
-rw-r--r-- | strawberry.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/strawberry.lua b/strawberry.lua index 87833e1..d919cca 100644 --- a/strawberry.lua +++ b/strawberry.lua @@ -223,8 +223,8 @@ minetest.register_abm({ -- grow local height = minetest.get_item_group(node.name, "strawberry") + 1 - minetest.set_node(pos, {name = "ethereal:strawberry_"..height}) + minetest.swap_node(pos, {name = "ethereal:strawberry_"..height}) end }) -end
\ No newline at end of file +end |