🐛 Remove useless condition

This commit is contained in:
Androz2091 2020-11-23 21:12:05 +01:00
parent f45b925bde
commit 06a148dbdf

View file

@ -671,9 +671,6 @@ class Player extends EventEmitter {
* @param {*} firstPlay
*/
async _playTrack (queue, firstPlay) {
if (this.options.leaveOnEmpty && this.util.isVoiceEmpty(queue.voiceConnection.channel)) {
}
if (queue.stopped) return
// If there isn't next music in the queue
if (queue.tracks.length === 1 && !queue.repeatMode && !firstPlay) {