summaryrefslogtreecommitdiff
path: root/extra.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 /extra.lua
parent41e4423dd952e58793ff19ea001997cad92d6b2f (diff)
Updated for 0.4.11 dev and above
Diffstat (limited to 'extra.lua')
-rw-r--r--extra.lua4
1 files changed, 2 insertions, 2 deletions
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