Remove useless code

This commit is contained in:
Jean-Patrick Guerrero 2020-07-16 03:01:57 +02:00
parent 14c1372550
commit 701c7ae690

@ -1536,11 +1536,7 @@ local function get_init_items()
for name, def in pairs(reg_items) do for name, def in pairs(reg_items) do
if name ~= "" and show_item(def) then if name ~= "" and show_item(def) then
cache_drops(name, def.drop) cache_drops(name, def.drop)
cache_recipes(name)
if not recipes_cache[name] then
cache_recipes(name)
end
_preselect[name] = true _preselect[name] = true
end end
end end