Fixed getTraderSuits() not returning ragman clothing

This commit is contained in:
Dev 2024-09-27 20:41:36 +01:00
parent 7b4be0817b
commit 66c49dc9d8

View File

@ -34,7 +34,7 @@ export class CustomizationCallbacks {
*/ */
public getTraderSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<ISuit[]> { public getTraderSuits(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<ISuit[]> {
const splittedUrl = url.split("/"); 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)); return this.httpResponse.getBody(this.customizationController.getTraderSuits(traderID, sessionID));
} }