mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-26 04:23:44 +01:00
Fix duplicate recipes in resolve_aliases (?)
This commit is contained in:
parent
d7619cd778
commit
09e73745fb
5
init.lua
5
init.lua
@ -1550,9 +1550,8 @@ local function resolve_aliases(hash)
|
||||
local rcp_old = recipes_cache[oldname][i]
|
||||
|
||||
for j = 1, #recipes_cache[newname] do
|
||||
local rcp_new = recipes_cache[newname][j]
|
||||
rcp_new.type = nil
|
||||
rcp_new.method = nil
|
||||
local rcp_new = copy(recipes_cache[newname][j])
|
||||
rcp_new.output = oldname
|
||||
|
||||
if table_eq(rcp_old, rcp_new) then
|
||||
similar = true
|
||||
|
Loading…
Reference in New Issue
Block a user