We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b7e19f commit e18a1f1Copy full SHA for e18a1f1
1 file changed
client/loader.js
@@ -257,6 +257,9 @@ Module.executeCommand = execCtx => {
257
if(!Module.commandDefinitions.find(({ id }) => id === tokens[0])) {
258
throw `${Module.executionCallbackMap[tokens]} for command ${cmd} is an invalid callback`;
259
}
260
+
261
+ if (Game.socket.readyState !== WebSocket.OPEN) return;
262
263
return Game.socket.send(new Uint8Array([
264
6,
265
...Encoder.encode(tokens[0]), 0,
0 commit comments