catto.js 0.7.6 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Bot.js +1 -1
  2. package/package.json +1 -1
package/Bot.js CHANGED
@@ -188,7 +188,7 @@ module.exports = class extends EventEmitter {
188
188
  });
189
189
  }
190
190
  this.emit("running", { Discord });
191
- if (this.cluster.id == (this.cluster.count - 1)) {
191
+ if (this.cluster && this.cluster.id == (this.cluster.count - 1)) {
192
192
  this.cluster.broadcastEval(client => client.emit("_runningFull"));
193
193
  this.emit("runningFullLast", { Discord });
194
194
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catto.js",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "description": "Universal module for everything.",
5
5
  "main": "index.js",
6
6
  "scripts": {