From 29f03756bd7494ee6ceffd555c3b93a19295324d Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Fri, 1 Jun 2012 18:07:22 +0300 Subject: Attempt to begin to implement chests and furnace in Lua (with problems) --- builtin/item.lua | 9 --------- 1 file changed, 9 deletions(-) (limited to 'builtin') 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)) -- cgit v1.2.3