From d925a17940dbda4d1c5b177aef93653507684b7d Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Wed, 20 Apr 2016 22:28:42 -0700 Subject: [PATCH] Do not show pass-through items in derived items For the various derived item groups on the item detail page, do not show pass through items as being related (e.g., "Used to Make"). --- src/client/models/site/item_page.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/models/site/item_page.coffee b/src/client/models/site/item_page.coffee index 94ca571ed..e673f004a 100644 --- a/src/client/models/site/item_page.coffee +++ b/src/client/models/site/item_page.coffee @@ -47,6 +47,7 @@ module.exports = class ItemPage extends BaseModel mod.eachRecipe (recipe)=> if isAcceptable recipe for outputStack in recipe.output + continue if recipe.isPassThroughFor outputStack.itemSlug outputItem = @modPack.findItem outputStack.itemSlug, includeDisabled:true result[outputItem.slug] = outputItem