From ce63d5418ba8d38d2e03b7743801f627c974441a Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 15 May 2023 18:37:09 +0100 Subject: [PATCH] Fix error on purchasing clothing from ragman --- project/src/controllers/CustomizationController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/controllers/CustomizationController.ts b/project/src/controllers/CustomizationController.ts index 8d3e7ed7..af40fee5 100644 --- a/project/src/controllers/CustomizationController.ts +++ b/project/src/controllers/CustomizationController.ts @@ -89,7 +89,7 @@ export class CustomizationController } const suitId = traderOffer.suiteId; - if (this.outfitAlreadyPurchased(sessionId, suitId)) + if (this.outfitAlreadyPurchased(suitId, sessionId)) { const suitDetails = db.templates.customization[suitId]; this.logger.error(this.localisationService.getText("customisation-item_already_purchased", {itemId: suitDetails._id, itemName: suitDetails._name}));