mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2026-11-16 15:40:41 +09:00
.
This commit is contained in:
1 parent
495c2520b1
commit
35db3429e1
2 files changed
+5
-1
No files matched your search
@@ -188,6 +188,8 @@ class ControllerPlugin extends BaseControllerPlugin {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user