Bug: Allow 'update' recipes to be found properly

Fix a bug where `ModPack.findRecipes` would only look for recipes for
qualified slugs in the mod which added the item, thus missing any
recipes added in other mods.
This commit is contained in:
Andrew Miner
2015-02-18 22:41:39 -08:00
parent b1a6637005
commit cdf33f4b44
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -86,7 +86,6 @@ module.exports = class ModPack extends BaseModel
for mod in @_mods
continue unless mod.enabled
continue if itemSlug.isQualified and itemSlug.mod isnt mod.slug
mod.findRecipes itemSlug, result
result.sort (a, b)-> Recipe.compareFor a, b, itemSlug