Cleanup of TraderHelper code now persistPurchaseDataInProfile has been removed

This commit is contained in:
Dev 2024-03-30 13:11:43 +00:00
parent ac16385c8f
commit 4e80fa6aae

View File

@ -104,10 +104,7 @@ export class TradeHelper
traderId: buyRequestData.tid,
};
this.traderHelper.addTraderPurchasesToPlayerProfile(sessionID, itemPurchaseDetails, itemPurchased);
}
if (assortHasBuyRestrictions)
{
// Increment non-fence trader item buy count
this.incrementAssortBuyCount(itemPurchased, buyCount);
}
@ -177,9 +174,7 @@ export class TradeHelper
traderId: buyRequestData.tid,
};
this.traderHelper.addTraderPurchasesToPlayerProfile(sessionID, itemPurchaseDat, itemPurchased);
}
else if (assortHasBuyRestrictions)
{
// Increment non-fence trader item buy count
this.incrementAssortBuyCount(itemPurchased, buyCount);
}