From 06a148dbdf1ff34642d34a83afe36487aa6086f8 Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Mon, 23 Nov 2020 21:12:05 +0100 Subject: [PATCH] :bug: Remove useless condition --- src/Player.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Player.js b/src/Player.js index b8d40f5..635019d 100644 --- a/src/Player.js +++ b/src/Player.js @@ -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) {