This commit is contained in:
2025-08-16 00:51:23 +09:00
parent 495c2520b1
commit 35db3429e1
2 changed files with 5 additions and 1 deletions

View File

@@ -188,6 +188,8 @@ class ControllerPlugin extends BaseControllerPlugin {
} }
} }
} }
return;
} }
} }

View File

@@ -2,7 +2,7 @@
const lib = require('@clusterio/lib'); const lib = require('@clusterio/lib');
class InstanceActionEvent { class InstanceActionEvent {
static type = 'requests'; static type = 'request';
static src = 'instance'; static src = 'instance';
static dst = 'controller'; static dst = 'controller';
static plugin = 'ClusterChatSync'; static plugin = 'ClusterChatSync';
@@ -22,6 +22,8 @@ class InstanceActionEvent {
static fromJSON(json) { static fromJSON(json) {
return new this(json.instanceName, json.action, json.content); return new this(json.instanceName, json.action, json.content);
} }
static Response = lib.JsonString;
} }
const plugin = { const plugin = {