From f4afd1c36ee7b813a0acdb125700e13dfd2c93eb Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Wed, 5 Apr 2023 14:35:16 +0700 Subject: [PATCH] FINALLY FIX MUSIC BUG LMFAOOOOOOO IT IS JUST CHOMENS MOMENT BROOOOO --- .../chayapak/chomens_bot/plugins/MusicPlayerPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ad1160a..2534367 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 @@ -137,7 +137,6 @@ public class MusicPlayerPlugin extends SessionAdapter { handlePlaying(); if (currentSong.finished()) { - removeBossbar(); bot.chat().tellraw(Component.translatable("Finished playing %s", Component.empty().append(currentSong.name).color(NamedTextColor.GOLD))); if (loop == Loop.CURRENT) { @@ -153,6 +152,7 @@ public class MusicPlayerPlugin extends SessionAdapter { if (songQueue.size() == 0) { stopPlaying(); + removeBossbar(); bot.chat().tellraw(Component.text("Finished playing every song in the queue")); return; }