Correct double AutoFlow
This commit is contained in:
parent
270f52321b
commit
ba876df45e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user