prettier
All checks were successful
Build / build (20) (push) Successful in 41s
Build / build (18) (push) Successful in 1m5s
Build / build (22) (push) Successful in 1m6s
Build / build (18) (pull_request) Successful in 43s
Build / build (20) (pull_request) Successful in 1m2s
Build / build (22) (pull_request) Successful in 1m3s

This commit is contained in:
Sainan 2025-03-15 09:32:28 +01:00
parent 87726d1230
commit aeea2a1058

View File

@ -368,7 +368,9 @@ const handleBoosterPackPurchase = async (
InventoryChanges: {} InventoryChanges: {}
}; };
if (quantity > 100) { if (quantity > 100) {
throw new Error("attempt to roll over 100 booster packs in a single go. possible but unlikely to be desirable for the user or the server."); throw new Error(
"attempt to roll over 100 booster packs in a single go. possible but unlikely to be desirable for the user or the server."
);
} }
for (let i = 0; i != quantity; ++i) { for (let i = 0; i != quantity; ++i) {
for (const weights of pack.rarityWeightsPerRoll) { for (const weights of pack.rarityWeightsPerRoll) {