Hi Dear Developer!
I found a bug, which is easily fixable.
Sometimes the modified recipe is not correct.
Reproduce the issue:
1. Modify fast inserter: delete everything from the recipe, except the normal inserter.
2. Result: fast inserter recipe is wrong and 2 iron-plates are needed, instead of the 1 inserter.
Fix: add sorting by index when remove ingredients in data-final-fixes.lua
For example:
table.sort(to_remove, function(a, b) return a < b end)
for i = #to_remove, 1, -1 do
table.remove(ingredients, to_remove[i])
end
There are two removals like this.