13
0
geforkt von Mirrors/Paper

Add Player.stopSound

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2016-06-11 09:13:34 +10:00
Ursprung f5378fcb05
Commit 09cb84067f

Datei anzeigen

@ -241,6 +241,20 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
*/
public void playSound(Location location, String sound, float volume, float pitch);
/**
* Stop the specified sound from playing.
*
* @param sound the sound to stop
*/
public void stopSound(Sound sound);
/**
* Stop the specified sound from playing.
*
* @param sound the sound to stop
*/
public void stopSound(String sound);
/**
* Plays an effect to just this player.
*