should fix out of range

This commit is contained in:
ajgeiss0702
2021-08-13 15:09:03 -07:00
parent 86ceaa0233
commit d9dc991a31
@@ -471,6 +471,9 @@ public class QueueManagerImpl implements QueueManager {
} }
} else { } else {
i++; i++;
if(i > server.getQueue().size()-1) {
break;
}
nextQueuePlayer = server.getQueue().get(i); nextQueuePlayer = server.getQueue().get(i);
nextPlayer = nextQueuePlayer.getPlayer(); nextPlayer = nextQueuePlayer.getPlayer();
} }