typo
All checks were successful
Build / build (push) Successful in 1m1s
Build / build (pull_request) Successful in 1m32s

This commit is contained in:
Sainan 2025-04-13 16:23:32 +02:00
parent 46df5ce8f0
commit 5e5616b3ca

View File

@ -558,7 +558,7 @@ export const addItem = async (
} }
if (typeName in ExportEmailItems) { if (typeName in ExportEmailItems) {
if (quantity != 1) { if (quantity != 1) {
throw new Error(`unexpected acquisition quantity of EmailItems: got ${quantity}, expected 0`); throw new Error(`unexpected acquisition quantity of EmailItems: got ${quantity}, expected 1`);
} }
return await addEmailItem(inventory, typeName); return await addEmailItem(inventory, typeName);
} }