fix: ignore purchaseQuantity for webui add items #1944

Merged
Sainan merged 2 commits from gear-fix into main 2025-05-01 13:54:06 -07:00
Showing only changes of commit 0f3e8e5372 - Show all commits

View File

@ -333,7 +333,7 @@ export const addItem = async (
premiumPurchase: boolean = false, premiumPurchase: boolean = false,
seed?: bigint, seed?: bigint,
targetFingerprint?: string, targetFingerprint?: string,
exactQuantity = false exactQuantity: boolean = false
): Promise<IInventoryChanges> => { ): Promise<IInventoryChanges> => {
// Bundles are technically StoreItems but a) they don't have a normal counterpart, and b) they are used in non-StoreItem contexts, e.g. email attachments. // Bundles are technically StoreItems but a) they don't have a normal counterpart, and b) they are used in non-StoreItem contexts, e.g. email attachments.
if (typeName in ExportBundles) { if (typeName in ExportBundles) {