Files
AllMusic/core/command/CommandStop.java
T

15 lines
496 B
Java
Raw Normal View History

2023-10-22 10:14:55 +08:00
package coloryr.allmusic.core.command;
import coloryr.allmusic.core.AllMusic;
2024-04-17 22:15:12 +08:00
import coloryr.allmusic.core.utils.HudUtils;
2023-10-22 10:14:55 +08:00
2024-04-17 22:15:12 +08:00
public class CommandStop extends ACommand {
2023-10-22 10:14:55 +08:00
@Override
public void ex(Object sender, String name, String[] args) {
AllMusic.side.clearHud(name);
AllMusic.side.sendStop(name);
HudUtils.clearHud(name);
AllMusic.removeNowPlayPlayer(name);
2024-04-17 22:15:12 +08:00
AllMusic.side.sendMessage(sender, AllMusic.getMessage().musicPlay.stopPlaying);
2023-10-22 10:14:55 +08:00
}
}