From 3a8f43d75c824a9220672e65c4bd3322c9160ad2 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Mon, 28 Aug 2023 17:22:12 +0400 Subject: [PATCH] Up hasCustomSpot --- src/canvas/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/canvas/index.ts b/src/canvas/index.ts index d044215ad..01e72418e 100644 --- a/src/canvas/index.ts +++ b/src/canvas/index.ts @@ -769,7 +769,7 @@ export default class CanvasModule extends Module { } hasCustomSpot(type?: CanvasSpotBuiltInTypes) { - const { customSpots } = this.getConfig(); + const { customSpots } = this.config; if (customSpots === true || (customSpots && type && customSpots[type])) { return true;