fix: repeating function repeats now

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-05-11 08:55:02 +02:00
parent 47b3674b6e
commit 27aee06681
2 changed files with 1 additions and 2 deletions

View file

@ -75,7 +75,7 @@ class GuildTrackScheduler(val pl: Player) {
private suspend fun onTrackEnd(e: TrackEndEvent) {
if (e.reason.mayStartNext) {
if (repeating) {
Logger.out("Repeating track....")
Logger.out("Repeating track...")
this.pl.playTrack(e.getTrack().copy())
return
}