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,
|
traderId: buyRequestData.tid,
|
||||||
};
|
};
|
||||||
this.traderHelper.addTraderPurchasesToPlayerProfile(sessionID, itemPurchaseDetails, itemPurchased);
|
this.traderHelper.addTraderPurchasesToPlayerProfile(sessionID, itemPurchaseDetails, itemPurchased);
|
||||||
}
|
|
||||||
|
|
||||||
if (assortHasBuyRestrictions)
|
|
||||||
{
|
|
||||||
// Increment non-fence trader item buy count
|
// Increment non-fence trader item buy count
|
||||||
this.incrementAssortBuyCount(itemPurchased, buyCount);
|
this.incrementAssortBuyCount(itemPurchased, buyCount);
|
||||||
}
|
}
|
||||||
@ -177,9 +174,7 @@ export class TradeHelper
|
|||||||
traderId: buyRequestData.tid,
|
traderId: buyRequestData.tid,
|
||||||
};
|
};
|
||||||
this.traderHelper.addTraderPurchasesToPlayerProfile(sessionID, itemPurchaseDat, itemPurchased);
|
this.traderHelper.addTraderPurchasesToPlayerProfile(sessionID, itemPurchaseDat, itemPurchased);
|
||||||
}
|
|
||||||
else if (assortHasBuyRestrictions)
|
|
||||||
{
|
|
||||||
// Increment non-fence trader item buy count
|
// Increment non-fence trader item buy count
|
||||||
this.incrementAssortBuyCount(itemPurchased, buyCount);
|
this.incrementAssortBuyCount(itemPurchased, buyCount);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user