SPIGOT-6436: Add Player#stopAllSounds

By: Doc <nachito94@msn.com>
This commit is contained in:
Bukkit/Spigot 2021-11-05 21:02:12 +11:00
parent 3afdb08183
commit 80ca94de60

View File

@ -377,6 +377,11 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
*/
public void stopSound(@NotNull String sound, @Nullable SoundCategory category);
/**
* Stop all sounds from playing.
*/
public void stopAllSounds();
/**
* Plays an effect to just this player.
*