summaryrefslogtreecommitdiff
path: root/crystal.lua
diff options
context:
space:
mode:
Diffstat (limited to 'crystal.lua')
-rw-r--r--crystal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/crystal.lua b/crystal.lua
index 300f07d..de704f6 100644
--- a/crystal.lua
+++ b/crystal.lua
@@ -148,7 +148,7 @@ minetest.register_tool("ethereal:shovel_crystal", {
local inv = user:get_inventory()
- minetest.env:remove_node(pointed_thing.under)
+ minetest.remove_node(pointed_thing.under)
nodeupdate(pos)
inv:add_item("main", {name = nn})