summaryrefslogtreecommitdiff
path: root/sapling.lua
diff options
context:
space:
mode:
authortenplus1 <kinsellaja@yahoo.com>2015-03-01 11:20:12 +0000
committertenplus1 <kinsellaja@yahoo.com>2015-03-01 11:20:12 +0000
commit7db8a5122fac2c4a83616d1e8cae8d5667f3c7c2 (patch)
tree82c8157042a2e5e5dfb4bbbbc75214c34a594d7c /sapling.lua
parent41e4423dd952e58793ff19ea001997cad92d6b2f (diff)
Updated for 0.4.11 dev and above
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 );