From 7db8a5122fac2c4a83616d1e8cae8d5667f3c7c2 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Sun, 1 Mar 2015 11:20:12 +0000 Subject: Updated for 0.4.11 dev and above --- sapling.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapling.lua') 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 ); -- cgit v1.2.3