summaryrefslogtreecommitdiff
path: root/extra.lua
diff options
context:
space:
mode:
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