mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-22 19:03:43 +01:00
Paranoid check
This commit is contained in:
parent
d93f5b0cf2
commit
50d19faa48
6
init.lua
6
init.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user