From a0e7d69c72c4c63434a10d42c52db0a56cc30e6b Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 17 Jan 2025 23:55:29 +0900 Subject: [PATCH] . --- instance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instance.js b/instance.js index dc1a1d1..adca87e 100644 --- a/instance.js +++ b/instance.js @@ -20,7 +20,7 @@ class InstancePlugin extends BaseInstancePlugin { async onOutput(output) { if (output.type == "action") { if (this.host.connector.connected) { - this.sendChat(output.action, output.message); + this.instance.sendTo("controller", new InstanceActionEvent(this.instance.name, output.action, output.message)); } else { this.messageQueue.push([output.action, output.message]); }