Do not count price of soft inserts towards armor prices when listed on flea
This commit is contained in:
parent
7b1fd03f1d
commit
5dacc1419e
@ -232,6 +232,11 @@ export class RagfairPriceService implements OnLoad
|
|||||||
let manuallyAdjusted = false;
|
let manuallyAdjusted = false;
|
||||||
for (const item of items)
|
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
|
// Get dynamic price, fallback to handbook price if value of 1 found
|
||||||
let itemPrice = this.getFleaPriceForItem(item._tpl);
|
let itemPrice = this.getFleaPriceForItem(item._tpl);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user