This commit is contained in:
Alex
2019-10-19 02:59:18 -04:00
parent 462bb58ead
commit bd1bcc1bd3
+4 -7
View File
@@ -105,17 +105,14 @@ public class AudioUtils
{ {
playlist.add(track); playlist.add(track);
} }
//if(player.getPlayingTrack() == null) do
{ {
do if(player.getPlayingTrack() == null)
{ {
if(player.getPlayingTrack() == null) player.startTrack(playlist.poll(), false);
{
player.startTrack(playlist.poll(), false);
}
} }
while(!playlist.isEmpty());
} }
while(!playlist.isEmpty());
} }
} }