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 addc5af..667a150 100644
--- a/sapling.lua
+++ b/sapling.lua
@@ -40,7 +40,7 @@ ethereal.register_sapling( "ethereal:acacia_sapling", "Acacia Sapling", "moretre
ethereal.place_tree = function (pos, ofx, ofz, schem)
-- Remove Sapling and Place Tree Schematic
- minetest.env:set_node(pos, {name="air"})
+ minetest.set_node(pos, {name="air"})
pos.x = pos.x - ofx
pos.z = pos.z - ofz
minetest.place_schematic(pos, minetest.get_modpath("ethereal").."/schematics/"..schem..".mts", "0", {}, false );