summaryrefslogtreecommitdiff
path: root/sapling.lua
diff options
context:
space:
mode:
Diffstat (limited to 'sapling.lua')
-rw-r--r--sapling.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapling.lua b/sapling.lua
index ac15dbf..05ba759 100644
--- a/sapling.lua
+++ b/sapling.lua
@@ -46,7 +46,7 @@ ethereal.add_tree = function (pos, ofx, ofz, schem)
return
end
-- remove sapling and place schematic
- minetest.set_node(pos, {name = "air"})
+ minetest.swap_node(pos, {name = "air"})
minetest.place_schematic(
{x = pos.x - ofx, y = pos.y, z =pos.z - ofz},
schem, "random", {}, false