lavalink-client 1.2.2 → 1.2.4
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.
|
@@ -666,6 +666,7 @@ class LavalinkNode {
|
|
|
666
666
|
}
|
|
667
667
|
async trackError(player, track, payload) {
|
|
668
668
|
this.NodeManager.LavalinkManager.emit("trackError", player, track, payload);
|
|
669
|
+
return; // get's handled by trackEnd
|
|
669
670
|
// If there are no songs in the queue
|
|
670
671
|
if (!player.queue.tracks.length && (player.repeatMode === "off" || player.get("internal_stopPlaying")))
|
|
671
672
|
return this.queueEnd(player, track, payload);
|
|
@@ -662,6 +662,7 @@ export class LavalinkNode {
|
|
|
662
662
|
}
|
|
663
663
|
async trackError(player, track, payload) {
|
|
664
664
|
this.NodeManager.LavalinkManager.emit("trackError", player, track, payload);
|
|
665
|
+
return; // get's handled by trackEnd
|
|
665
666
|
// If there are no songs in the queue
|
|
666
667
|
if (!player.queue.tracks.length && (player.repeatMode === "off" || player.get("internal_stopPlaying")))
|
|
667
668
|
return this.queueEnd(player, track, payload);
|
package/package.json
CHANGED