Remove remove_items, superseded by item_entity_ttl

This commit is contained in:
tacotexmex 2017-07-09 16:25:11 +02:00
parent 16210c79f7
commit d336a226cd

View File

@ -121,13 +121,6 @@ if enable_item_drops then
z = -z z = -z
end end
obj:setvelocity({x=1/x, y=obj:getvelocity().y, z=1/z}) 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 end
end end