FURTHER cleanup of TraderHelper now persistPurchaseDataInProfile was removed

This commit is contained in:
Dev 2024-03-30 13:15:28 +00:00
parent 4e80fa6aae
commit 5595e1d31f

View File

@ -94,11 +94,8 @@ export class TradeHelper
buyRequestData.item_id, buyRequestData.item_id,
buyCount, buyCount,
); );
}
// Decrement trader item count // Decrement trader item count
if (assortHasBuyRestrictions)
{
const itemPurchaseDetails = { const itemPurchaseDetails = {
items: [{ itemId: buyRequestData.item_id, count: buyCount }], items: [{ itemId: buyRequestData.item_id, count: buyCount }],
traderId: buyRequestData.tid, traderId: buyRequestData.tid,