aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/item.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/builtin/item.lua b/builtin/item.lua
index 440236fbe..129a12cf8 100644
--- a/builtin/item.lua
+++ b/builtin/item.lua
@@ -237,15 +237,6 @@ function minetest.node_dig(pos, node, digger)
return
end
- local meta = minetest.env:get_meta(pos)
- if meta ~= nil and not meta:get_allow_removal() then
- minetest.debug("dig prevented by metadata")
- minetest.log("info", digger:get_player_name() .. " tried to dig "
- .. node.name .. ", but removal is disabled by metadata "
- .. minetest.pos_to_string(pos))
- return
- end
-
minetest.log('action', digger:get_player_name() .. " digs "
.. node.name .. " at " .. minetest.pos_to_string(pos))