fix filename real l l l
This commit is contained in:
parent
ebd53d9d5e
commit
ea2bcb1fb0
1 changed files with 1 additions and 2 deletions
|
@ -137,8 +137,6 @@ public class MusicPlayerPlugin extends SessionAdapter {
|
||||||
if (currentSong.finished()) {
|
if (currentSong.finished()) {
|
||||||
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)));
|
||||||
|
|
||||||
fileName = null;
|
|
||||||
|
|
||||||
if (loop == Loop.CURRENT) {
|
if (loop == Loop.CURRENT) {
|
||||||
currentSong.setTime(0);
|
currentSong.setTime(0);
|
||||||
return;
|
return;
|
||||||
|
@ -153,6 +151,7 @@ public class MusicPlayerPlugin extends SessionAdapter {
|
||||||
if (songQueue.size() == 0) {
|
if (songQueue.size() == 0) {
|
||||||
stopPlaying();
|
stopPlaying();
|
||||||
removeBossBar();
|
removeBossBar();
|
||||||
|
fileName = null;
|
||||||
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…
Add table
Add a link
Reference in a new issue