This commit is contained in:
2025-01-17 23:55:29 +09:00
parent 7bedcf3d39
commit a0e7d69c72

View File

@@ -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]);
}