From d336a226cd2b21e17e926fd0bd7a0aab5d4fffd8 Mon Sep 17 00:00:00 2001 From: tacotexmex Date: Sun, 9 Jul 2017 16:25:11 +0200 Subject: [PATCH] Remove remove_items, superseded by item_entity_ttl --- init.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/init.lua b/init.lua index eb59cf5..140d36e 100644 --- a/init.lua +++ b/init.lua @@ -121,13 +121,6 @@ if enable_item_drops then z = -z end obj:setvelocity({x=1/x, y=obj:getvelocity().y, z=1/z}) - - -- FIXME this doesnt work for deactiveted objects - if minetest.settings:get("remove_items") and tonumber(minetest.settings:get("remove_items")) then - minetest.after(tonumber(minetest.settings:get("remove_items")), function(obj) - obj:remove() - end, obj) - end end end end