From 5b75e753a7e1f544ee6bdfcb147baba6bf7f5d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Mon, 19 Aug 2024 21:38:31 +0800 Subject: [PATCH] Util --- src/core/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/core.ts b/src/core/core.ts index caff4b19..942cce96 100644 --- a/src/core/core.ts +++ b/src/core/core.ts @@ -44,7 +44,7 @@ export class NapCatCore { constructor(context: InstanceContext, selfInfo: SelfInfo) { this.selfInfo = selfInfo; this.context = context; - this.util = new this.context.wrapper.NodeQQNTWrapperUtil(); + this.util = this.context.wrapper.NodeQQNTWrapperUtil; this.eventWrapper = new LegacyNTEventWrapper(context.session); this.apis = { FileApi: new NTQQFileApi(this.context, this),