From 507e8eeaa7db74f460a0c6039f700e544ed4721b Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 8 Jan 2024 11:35:20 +0000 Subject: [PATCH] Improve comments --- project/src/controllers/TradeController.ts | 1 + project/src/helpers/InventoryHelper.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/project/src/controllers/TradeController.ts b/project/src/controllers/TradeController.ts index fade6b2c..19fcf741 100644 --- a/project/src/controllers/TradeController.ts +++ b/project/src/controllers/TradeController.ts @@ -259,6 +259,7 @@ export class TradeController return totalPrice; } + /** Buy item */ protected confirmTradingInternal( pmcData: IPmcData, body: IProcessBaseTradeRequestData, diff --git a/project/src/helpers/InventoryHelper.ts b/project/src/helpers/InventoryHelper.ts index 497b0c00..62430d0f 100644 --- a/project/src/helpers/InventoryHelper.ts +++ b/project/src/helpers/InventoryHelper.ts @@ -149,6 +149,7 @@ export class InventoryHelper for (const itemToAdd of itemsToAdd) { + // Update Items `location` properties const errorOutput = this.placeItemInInventory( itemToAdd, stashFS2D,