1
0
Fork 0

Fix rebase breaking creative digging

This commit is contained in:
cora 2022-10-23 01:03:51 +02:00 committed by AFCMS
parent 7cf91c79cb
commit ee4f7d1b88
Signed by untrusted user: AFCMS
GPG Key ID: 8720389A25B652E3
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,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)