Skip to content

Commit

Permalink
Fix: autoPlay not getting when previous autoPlay call did not add any…
Browse files Browse the repository at this point in the history
… tracks to queue
  • Loading branch information
PandaIN95 committed Dec 10, 2024
1 parent 2bb313c commit adc4c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/Node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@ export class LavalinkNode {
}

player.set("internal_skipped", false);
player.set("internal_autoplayStopPlaying", Date.now());
player.set("internal_autoplayStopPlaying", undefined);

if (track && !track?.pluginInfo?.clientData?.previousTrack) { // If there was a current Track already and repeatmode === true, add it to the queue.
player.queue.previous.unshift(track);
Expand Down

0 comments on commit adc4c8c

Please sign in to comment.