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 --- crystal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crystal.lua') 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}) -- cgit v1.2.3