mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-01 07:13:45 +01:00
Fix rebase breaking creative digging
This commit is contained in:
parent
7cf91c79cb
commit
ee4f7d1b88
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user