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{ else{
currentPlayingTrack = track; currentPlayingTrack = track;
} }
needAutoPlay(); if(track.getSubmittedUser() != MainBot.jda.getSelfUser()) {
needAutoPlay();
}
} }
@ -87,7 +89,9 @@ public class TrackScheduler extends AudioEventAdapter {
else{ else{
currentPlayingTrack = track; currentPlayingTrack = track;
} }
needAutoPlay(); if(track.getSubmittedUser() != MainBot.jda.getSelfUser()) {
needAutoPlay();
}
} }
public void pause() { public void pause() {