FINALLY FIX MUSIC BUG LMFAOOOOOOO
IT IS JUST CHOMENS MOMENT BROOOOO
This commit is contained in:
parent
8196c5b29c
commit
f4afd1c36e
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,6 @@ public class MusicPlayerPlugin extends SessionAdapter {
|
||||||
handlePlaying();
|
handlePlaying();
|
||||||
|
|
||||||
if (currentSong.finished()) {
|
if (currentSong.finished()) {
|
||||||
removeBossbar();
|
|
||||||
bot.chat().tellraw(Component.translatable("Finished playing %s", Component.empty().append(currentSong.name).color(NamedTextColor.GOLD)));
|
bot.chat().tellraw(Component.translatable("Finished playing %s", Component.empty().append(currentSong.name).color(NamedTextColor.GOLD)));
|
||||||
|
|
||||||
if (loop == Loop.CURRENT) {
|
if (loop == Loop.CURRENT) {
|
||||||
|
@ -153,6 +152,7 @@ public class MusicPlayerPlugin extends SessionAdapter {
|
||||||
|
|
||||||
if (songQueue.size() == 0) {
|
if (songQueue.size() == 0) {
|
||||||
stopPlaying();
|
stopPlaying();
|
||||||
|
removeBossbar();
|
||||||
bot.chat().tellraw(Component.text("Finished playing every song in the queue"));
|
bot.chat().tellraw(Component.text("Finished playing every song in the queue"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue