From 701c7ae690231b3950c9771f05ae9db734589f43 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Thu, 16 Jul 2020 03:01:57 +0200 Subject: [PATCH] Remove useless code --- init.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/init.lua b/init.lua index c79bd8e..1630ea4 100644 --- a/init.lua +++ b/init.lua @@ -1536,11 +1536,7 @@ local function get_init_items() for name, def in pairs(reg_items) do if name ~= "" and show_item(def) then cache_drops(name, def.drop) - - if not recipes_cache[name] then - cache_recipes(name) - end - + cache_recipes(name) _preselect[name] = true end end