From 4c9e5c258f50b0987abddd3f1e4403aeceda1003 Mon Sep 17 00:00:00 2001 From: Dev Date: Sun, 21 Jul 2024 22:08:36 +0100 Subject: [PATCH] Removed unnecessary scope (cherry picked from commit 201df756a9d247779991d5ba5379b502ca60b346) --- project/src/helpers/RagfairOfferHelper.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/project/src/helpers/RagfairOfferHelper.ts b/project/src/helpers/RagfairOfferHelper.ts index d6846900..a72edfc7 100644 --- a/project/src/helpers/RagfairOfferHelper.ts +++ b/project/src/helpers/RagfairOfferHelper.ts @@ -372,9 +372,7 @@ export class RagfairOfferHelper { // Only count the root items stack count in total const rootItem = itemAndChildren[0]; - { - total += rootItem.upd?.StackObjectsCount ?? 1; - } + total += rootItem.upd?.StackObjectsCount ?? 1; } return total;