From e6aeb9ffba16c29355bad5dd07589df7145caf72 Mon Sep 17 00:00:00 2001 From: cora Date: Mon, 17 Oct 2022 12:37:22 +0200 Subject: [PATCH] Use dig_node instead of remove in creative dig --- mods/HUD/mcl_inventory/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/HUD/mcl_inventory/init.lua b/mods/HUD/mcl_inventory/init.lua index 61d52eb2a..2c7c64860 100644 --- a/mods/HUD/mcl_inventory/init.lua +++ b/mods/HUD/mcl_inventory/init.lua @@ -214,7 +214,7 @@ minetest.register_on_punchnode(function(pos, node, puncher, pointed_thing) local def = minetest.registered_nodes[node.name] if def then if def.on_destruct then def.on_destruct(pos) end - minetest.remove_node(pos) + minetest.dig_node(pos) return true end end)