mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
SPIGOT-6436: Add Player#stopAllSounds
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
3afdb08183
commit
80ca94de60
1 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue