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: #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:
parent
9698baa979
commit
9dac2c381d
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user