Don't show recipes for similarly name items
On item detail pages for items where multiple mods add an item of the same name, recipes for both items would incorrectly be displayed.
This commit is contained in:
@@ -118,7 +118,6 @@ module.exports = class Recipe extends BaseModel
|
||||
for stack in @output
|
||||
actuallyProduces = not @isPassThroughFor stack.itemSlug
|
||||
@_produces[stack.itemSlug.qualified] = actuallyProduces
|
||||
@_produces[stack.itemSlug.item] = actuallyProduces
|
||||
|
||||
return @_produces[itemSlug.qualified] or @_produces[itemSlug.item]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user