diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-06-01 18:07:22 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-06-03 22:31:00 +0300 |
commit | 29f03756bd7494ee6ceffd555c3b93a19295324d (patch) | |
tree | 015fc91771209566972ce505c6cf4bf8cf1eeb67 /builtin | |
parent | fe8c5546f09a6dbe410cde0a7cd99a3f4031ce8e (diff) | |
download | minetest-29f03756bd7494ee6ceffd555c3b93a19295324d.tar.gz minetest-29f03756bd7494ee6ceffd555c3b93a19295324d.tar.bz2 minetest-29f03756bd7494ee6ceffd555c3b93a19295324d.zip |
Attempt to begin to implement chests and furnace in Lua (with problems)
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/item.lua | 9 |
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)) |