Fix error on purchasing clothing from ragman
This commit is contained in:
parent
9f3954cbb2
commit
ce63d5418b
@ -89,7 +89,7 @@ export class CustomizationController
|
|||||||
}
|
}
|
||||||
|
|
||||||
const suitId = traderOffer.suiteId;
|
const suitId = traderOffer.suiteId;
|
||||||
if (this.outfitAlreadyPurchased(sessionId, suitId))
|
if (this.outfitAlreadyPurchased(suitId, sessionId))
|
||||||
{
|
{
|
||||||
const suitDetails = db.templates.customization[suitId];
|
const suitDetails = db.templates.customization[suitId];
|
||||||
this.logger.error(this.localisationService.getText("customisation-item_already_purchased", {itemId: suitDetails._id, itemName: suitDetails._name}));
|
this.logger.error(this.localisationService.getText("customisation-item_already_purchased", {itemId: suitDetails._id, itemName: suitDetails._name}));
|
||||||
|
Loading…
Reference in New Issue
Block a user