fix: don't give VorBoltRemoverFakeItem when claiming recipe #1494
@ -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