Correct double AutoFlow

This commit is contained in:
Sebastien 2018-03-05 15:14:58 +01:00
parent 270f52321b
commit ba876df45e

View File

@ -62,7 +62,9 @@ public class TrackScheduler extends AudioEventAdapter {
else{
currentPlayingTrack = track;
}
if(track.getSubmittedUser() != MainBot.jda.getSelfUser()) {
needAutoPlay();
}
}
@ -87,8 +89,10 @@ public class TrackScheduler extends AudioEventAdapter {
else{
currentPlayingTrack = track;
}
if(track.getSubmittedUser() != MainBot.jda.getSelfUser()) {
needAutoPlay();
}
}
public void pause() {
player.setPaused(true);