Remove remove_items, superseded by item_entity_ttl

This commit is contained in:
tacotexmex 2017-07-09 16:25:11 +02:00
parent 7f38ae5261
commit 67025939e7

View File

@ -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