diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/MusicPlayerPlugin.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/MusicPlayerPlugin.java index def68a3..66c4e1f 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/MusicPlayerPlugin.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/MusicPlayerPlugin.java @@ -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(); }