From 35db3429e14b58d13c3967eadd3bd09ed065c480 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sat, 16 Aug 2025 00:51:23 +0900 Subject: [PATCH] . --- controller.js | 2 ++ info.js | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/controller.js b/controller.js index 3eaeb49..0a49478 100644 --- a/controller.js +++ b/controller.js @@ -188,6 +188,8 @@ class ControllerPlugin extends BaseControllerPlugin { } } } + + return; } } diff --git a/info.js b/info.js index 4f4e8d2..dd4d6a7 100644 --- a/info.js +++ b/info.js @@ -2,7 +2,7 @@ const lib = require('@clusterio/lib'); class InstanceActionEvent { - static type = 'requests'; + static type = 'request'; static src = 'instance'; static dst = 'controller'; static plugin = 'ClusterChatSync'; @@ -22,6 +22,8 @@ class InstanceActionEvent { static fromJSON(json) { return new this(json.instanceName, json.action, json.content); } + + static Response = lib.JsonString; } const plugin = {