Fix incorrect reference to Set data structure

This commit is contained in:
Dev 2023-04-23 11:13:53 +01:00
parent eb9af28c1b
commit 9ddfeb629e

View File

@ -83,7 +83,7 @@ export class HandbookHelper
if (this.handbookPriceCache.items.byId.has(tpl))
{
return this.handbookPriceCache.items.byId[tpl];
return this.handbookPriceCache.items.byId.get(tpl);
}
const handbookItem = this.databaseServer.getTables().templates.handbook.Items.find(x => x.Id === tpl);