From 9dac2c381d0301672ded71ff48daaf5f6d3ea048 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sun, 6 Apr 2025 10:19:35 -0700 Subject: [PATCH] fix: don't give VorBoltRemoverFakeItem when claiming recipe (#1494) I think this is similar to the G3 unbrand item, so should be handled the same. Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1494 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- 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))