Comparing version 3.4.0 to 3.5.0
{ | ||
"name": "poru", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"description": "A stable and powerfull lavalink client around node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -337,2 +337,3 @@ const { EventEmitter } = require("events"); | ||
if (this.queue.length === 0) { | ||
this.isPlaying = false; | ||
return this.manager.emit("queueEnd", this, this.track, data); | ||
@@ -343,2 +344,3 @@ } else if (this.queue.length > 0) { | ||
} | ||
this.isPlaying = false; | ||
this.manager.emit("queueEnd", this, this.currentTrack, data); | ||
@@ -345,0 +347,0 @@ }, |
@@ -96,3 +96,3 @@ const { EventEmitter } = require("events"); | ||
const node = this.nodes.get(indetifier); | ||
const node = this.nodes.get(identifier); | ||
if (!node) throw new Error("The node identifier you provided is not found"); | ||
@@ -99,0 +99,0 @@ if (!node.isConnected) node.connect(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2096
66777
19