13
0
geforkt von Mirrors/Paper

Add stopSound for specific sound category

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2016-11-19 14:24:40 +11:00
Ursprung 1396386f23
Commit c5f5673150

Datei anzeigen

@ -284,6 +284,22 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
*/
public void stopSound(String sound);
/**
* Stop the specified sound from playing.
*
* @param sound the sound to stop
* @param category the category of the sound
*/
public void stopSound(Sound sound, SoundCategory category);
/**
* Stop the specified sound from playing.
*
* @param sound the sound to stop
* @param category the category of the sound
*/
public void stopSound(String sound, SoundCategory category);
/**
* Plays an effect to just this player.
*