From 66c49dc9d84da897be2419b5ac1ff1176a2b72dc Mon Sep 17 00:00:00 2001 From: Dev Date: Fri, 27 Sep 2024 20:41:36 +0100 Subject: [PATCH] Fixed `getTraderSuits()` not returning ragman clothing --- project/src/callbacks/CustomizationCallbacks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/callbacks/CustomizationCallbacks.ts b/project/src/callbacks/CustomizationCallbacks.ts index fe59eb4d..2cf09bd8 100644 --- a/project/src/callbacks/CustomizationCallbacks.ts +++ b/project/src/callbacks/CustomizationCallbacks.ts @@ -34,7 +34,7 @@ export class CustomizationCallbacks { */ public getTraderSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData { const splittedUrl = url.split("/"); - const traderID = splittedUrl[splittedUrl.length - 2]; + const traderID = splittedUrl[splittedUrl.length - 3]; return this.httpResponse.getBody(this.customizationController.getTraderSuits(traderID, sessionID)); }