summaryrefslogtreecommitdiff
path: root/strawberry.lua
diff options
context:
space:
mode:
Diffstat (limited to 'strawberry.lua')
-rw-r--r--strawberry.lua4
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