Do not count price of soft inserts towards armor prices when listed on flea

This commit is contained in:
Dev 2024-02-12 16:39:20 +00:00
parent 7b1fd03f1d
commit 5dacc1419e

View File

@ -232,6 +232,11 @@ export class RagfairPriceService implements OnLoad
let manuallyAdjusted = false;
for (const item of items)
{
if (this.itemHelper.isOfBaseclass(item._tpl, BaseClasses.BUILT_IN_INSERTS))
{
continue;
}
// Get dynamic price, fallback to handbook price if value of 1 found
let itemPrice = this.getFleaPriceForItem(item._tpl);