Merge branch 'master' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.0
This commit is contained in:
commit
80afa0262c
@ -92,9 +92,10 @@ export class HandbookHelper
|
||||
const handbookItem = this.databaseServer.getTables().templates.handbook.Items.find(x => x.Id === tpl);
|
||||
if (!handbookItem)
|
||||
{
|
||||
this.handbookPriceCache.items.byId.set(tpl, 1);
|
||||
const newValue = 0;
|
||||
this.handbookPriceCache.items.byId.set(tpl, newValue);
|
||||
|
||||
return 1;
|
||||
return newValue;
|
||||
}
|
||||
|
||||
return handbookItem.Price;
|
||||
|
@ -117,6 +117,8 @@ class ItemHelper
|
||||
{
|
||||
return dynamicPrice;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user