lavalink-client 1.2.3 → 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.
@@ -653,7 +653,6 @@ class LavalinkNode {
653
653
  }
654
654
  async trackStuck(player, track, payload) {
655
655
  this.NodeManager.LavalinkManager.emit("trackStuck", player, track, payload);
656
- return; // trackEnd get's executed too
657
656
  // If there are no songs in the queue
658
657
  if (!player.queue.tracks.length && (player.repeatMode === "off" || player.get("internal_stopPlaying")))
659
658
  return this.queueEnd(player, track, payload);
@@ -667,7 +666,7 @@ class LavalinkNode {
667
666
  }
668
667
  async trackError(player, track, payload) {
669
668
  this.NodeManager.LavalinkManager.emit("trackError", player, track, payload);
670
- return; // trackEnd get's executed too
669
+ return; // get's handled by trackEnd
671
670
  // If there are no songs in the queue
672
671
  if (!player.queue.tracks.length && (player.repeatMode === "off" || player.get("internal_stopPlaying")))
673
672
  return this.queueEnd(player, track, payload);
@@ -649,7 +649,6 @@ export class LavalinkNode {
649
649
  }
650
650
  async trackStuck(player, track, payload) {
651
651
  this.NodeManager.LavalinkManager.emit("trackStuck", player, track, payload);
652
- return; // trackEnd get's executed too
653
652
  // If there are no songs in the queue
654
653
  if (!player.queue.tracks.length && (player.repeatMode === "off" || player.get("internal_stopPlaying")))
655
654
  return this.queueEnd(player, track, payload);
@@ -663,7 +662,7 @@ export class LavalinkNode {
663
662
  }
664
663
  async trackError(player, track, payload) {
665
664
  this.NodeManager.LavalinkManager.emit("trackError", player, track, payload);
666
- return; // trackEnd get's executed too
665
+ return; // get's handled by trackEnd
667
666
  // If there are no songs in the queue
668
667
  if (!player.queue.tracks.length && (player.repeatMode === "off" || player.get("internal_stopPlaying")))
669
668
  return this.queueEnd(player, track, payload);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lavalink-client",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Easy, flexible and feature-rich lavalink@v4 Client. Both for Beginners and Proficients.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",