fix: don't give VorBoltRemoverFakeItem when claiming recipe
All checks were successful
Build / build (22) (push) Successful in 41s
Build / build (18) (push) Successful in 1m19s
Build / build (20) (push) Successful in 1m18s
Build / build (18) (pull_request) Successful in 44s
Build / build (20) (pull_request) Successful in 1m16s
Build / build (22) (pull_request) Successful in 1m16s

I think this is similar to the G3 unbrand item, so should be handled the same.
This commit is contained in:
Sainan 2025-04-06 18:56:06 +02:00
parent ea6facf3fc
commit 0074f45b7e

View File

@ -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))