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 --- extra.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extra.lua') diff --git a/extra.lua b/extra.lua index f499643..57281fe 100644 --- a/extra.lua +++ b/extra.lua @@ -285,9 +285,9 @@ minetest.register_tool("ethereal:light_staff", { local node = minetest.get_node(pos).name if node == "default:stone" then - minetest.env:add_node(pos, {name="ethereal:glostone"}) + minetest.add_node(pos, {name="ethereal:glostone"}) elseif node == "ethereal:glostone" then - minetest.env:add_node(pos, {name="default:stone"}) + minetest.add_node(pos, {name="default:stone"}) end if not minetest.setting_getbool("creative_mode") then -- cgit v1.2.3