fix: don't give VorBoltRemoverFakeItem when claiming recipe (#1494)
All checks were successful
Build / build (20) (push) Successful in 40s
Build / build (18) (push) Successful in 1m19s
Build Docker image / docker (push) Successful in 33s
Build / build (22) (push) Successful in 1m26s

I think this is similar to the G3 unbrand item, so should be handled the same.

Reviewed-on: #1494
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
Sainan 2025-04-06 10:19:35 -07:00 committed by Sainan
parent 9698baa979
commit 9dac2c381d

View File

@ -127,7 +127,10 @@ export const claimCompletedRecipeController: RequestHandler = async (req, res) =
...updateCurrency(inventory, cost, true) ...updateCurrency(inventory, cost, true)
}; };
} }
if (recipe.secretIngredientAction != "SIA_UNBRAND") { if (
recipe.resultType != "/Lotus/Types/Recipes/Components/VorBoltRemoverFakeItem" &&
recipe.secretIngredientAction != "SIA_UNBRAND"
) {
InventoryChanges = { InventoryChanges = {
...InventoryChanges, ...InventoryChanges,
...(await addItem(inventory, recipe.resultType, recipe.num, false)) ...(await addItem(inventory, recipe.resultType, recipe.num, false))