Files
AllMusic/core/command/CommandStop.java
T
2024-04-17 22:15:12 +08:00

16 lines
496 B
Java

package coloryr.allmusic.core.command;
import coloryr.allmusic.core.AllMusic;
import coloryr.allmusic.core.utils.HudUtils;
public class CommandStop extends ACommand {
@Override
public void ex(Object sender, String name, String[] args) {
AllMusic.side.clearHud(name);
AllMusic.side.sendStop(name);
HudUtils.clearHud(name);
AllMusic.removeNowPlayPlayer(name);
AllMusic.side.sendMessage(sender, AllMusic.getMessage().musicPlay.stopPlaying);
}
}