From 0074f45b7e1bb7a952bfe34ab434b7efc8b98ad9 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sun, 6 Apr 2025 18:56:06 +0200 Subject: [PATCH] fix: don't give VorBoltRemoverFakeItem when claiming recipe I think this is similar to the G3 unbrand item, so should be handled the same. --- src/controllers/api/claimCompletedRecipeController.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/controllers/api/claimCompletedRecipeController.ts b/src/controllers/api/claimCompletedRecipeController.ts index 880b2267..09953901 100644 --- a/src/controllers/api/claimCompletedRecipeController.ts +++ b/src/controllers/api/claimCompletedRecipeController.ts @@ -127,7 +127,10 @@ export const claimCompletedRecipeController: RequestHandler = async (req, res) = ...updateCurrency(inventory, cost, true) }; } - if (recipe.secretIngredientAction != "SIA_UNBRAND") { + if ( + recipe.resultType != "/Lotus/Types/Recipes/Components/VorBoltRemoverFakeItem" && + recipe.secretIngredientAction != "SIA_UNBRAND" + ) { InventoryChanges = { ...InventoryChanges, ...(await addItem(inventory, recipe.resultType, recipe.num, false))