forked from ChomeNS/chomens-bot-java
another music fix
This commit is contained in:
parent
f031c3dd02
commit
f41548c018
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ public class MusicPlayerPlugin extends SessionAdapter {
|
|||
}
|
||||
};
|
||||
|
||||
playTask = bot.executor().schedule(task, 50, TimeUnit.MILLISECONDS);
|
||||
playTask = bot.executor().scheduleAtFixedRate(task, 50, 50, TimeUnit.MILLISECONDS);
|
||||
|
||||
if (currentSong != null) currentSong.play();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue