Cleanup of TraderHelper code now persistPurchaseDataInProfile
has been removed
This commit is contained in:
parent
ac16385c8f
commit
4e80fa6aae
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user