🐛 Remove useless condition
This commit is contained in:
parent
f45b925bde
commit
06a148dbdf
1 changed files with 0 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue