Merge branch 'master' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.0

This commit is contained in:
Dev 2023-11-07 21:22:06 +00:00
commit 80afa0262c
2 changed files with 5 additions and 2 deletions

View File

@ -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;

View File

@ -117,6 +117,8 @@ class ItemHelper
{
return dynamicPrice;
}
return 0;
}
/**