diff --git a/project/src/helpers/HandbookHelper.ts b/project/src/helpers/HandbookHelper.ts index 86046b2a..d217dab6 100644 --- a/project/src/helpers/HandbookHelper.ts +++ b/project/src/helpers/HandbookHelper.ts @@ -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);