From 6a0bcf98812b493f72037a156e0df4c81bc24164 Mon Sep 17 00:00:00 2001 From: MysticTempest Date: Wed, 9 Nov 2022 04:26:41 -0600 Subject: [PATCH] Fix insta-digging crash when punching stairs. --- 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 7ef791c7a..4f50a3ef5 100644 --- a/mods/HUD/mcl_inventory/init.lua +++ b/mods/HUD/mcl_inventory/init.lua @@ -213,7 +213,7 @@ minetest.register_on_punchnode(function(pos, node, puncher, pointed_thing) if pointed_thing.type ~= "node" then return end local def = minetest.registered_nodes[node.name] if def then - minetest.node_dig(pos,def,puncher) + minetest.node_dig(pos,node,puncher) return true end end)