From ddb1a8d6650deb990fcd38b73f23d0fd5f8229d1 Mon Sep 17 00:00:00 2001 From: Sainan Date: Tue, 31 Dec 2024 01:40:32 +0100 Subject: [PATCH] fix(webui): showing hidden recipes for "add items" (#672) --- src/controllers/custom/getItemListsController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/custom/getItemListsController.ts b/src/controllers/custom/getItemListsController.ts index 24b8c0ae..72fb05da 100644 --- a/src/controllers/custom/getItemListsController.ts +++ b/src/controllers/custom/getItemListsController.ts @@ -50,7 +50,7 @@ const getItemListsController: RequestHandler = (req, res) => { } const recipeNameTemplate = getString("/Lotus/Language/Items/BlueprintAndItem", lang); for (const [uniqueName, item] of Object.entries(ExportRecipes)) { - if (!item.secretIngredientAction) { + if (!item.hidden) { const resultName = getItemName(item.resultType); if (resultName) { miscitems.push({