/voice
This commit is contained in:
parent
8b855b2676
commit
c82daf0fba
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ public class TrackManager extends AudioEventAdapter {
|
||||||
this.lastTrack = track;
|
this.lastTrack = track;
|
||||||
Guild g = queue.poll().getAuthor().getGuild();
|
Guild g = queue.poll().getAuthor().getGuild();
|
||||||
if (loop) {
|
if (loop) {
|
||||||
player.playTrack(lastTrack.makeClone());
|
player.playTrack(this.lastTrack.makeClone());
|
||||||
} else if (queue.isEmpty()) {
|
} else if (queue.isEmpty()) {
|
||||||
g.getAudioManager().closeAudioConnection();
|
g.getAudioManager().closeAudioConnection();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue