From 9ddfeb629e5c2dc219cc33c5cf4fa2f3c2f648a9 Mon Sep 17 00:00:00 2001 From: Dev Date: Sun, 23 Apr 2023 11:13:53 +0100 Subject: [PATCH] Fix incorrect reference to Set data structure --- project/src/helpers/HandbookHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);