Paranoid check

This commit is contained in:
Jean-Patrick Guerrero 2020-07-27 04:04:51 +02:00
parent d93f5b0cf2
commit 50d19faa48

@ -718,7 +718,11 @@ local function cache_recipes(item)
end
for k, v in pairs(replacements[item]) do
_recipes[k + shift].replacements = v
k = k + shift
if _recipes[k] then
_recipes[k].replacements = v
end
end
recipes = _recipes