magmastream 2.9.3-dev.27 → 2.9.3-dev.28
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.
- package/dist/structures/Node.js +2 -2
- package/package.json +1 -1
package/dist/structures/Node.js
CHANGED
|
@@ -759,7 +759,7 @@ class Node {
|
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
761
|
if (playNextOnEnd)
|
|
762
|
-
await player.play();
|
|
762
|
+
await player.play({ startTime: 0 });
|
|
763
763
|
}
|
|
764
764
|
/**
|
|
765
765
|
* Plays the next track in the queue.
|
|
@@ -777,7 +777,7 @@ class Node {
|
|
|
777
777
|
await player.queue.setCurrent(await player.queue.dequeue());
|
|
778
778
|
this.manager.emit(Enums_1.ManagerEventTypes.TrackEnd, player, track, payload);
|
|
779
779
|
if (this.manager.options.playNextOnEnd)
|
|
780
|
-
await player.play();
|
|
780
|
+
await player.play({ startTime: 0 });
|
|
781
781
|
}
|
|
782
782
|
/**
|
|
783
783
|
* Handles the event when a queue ends.
|