mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 00:07:56 +01:00
SPIGOT-6436: Add Player#stopAllSounds
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
3afdb08183
commit
80ca94de60
@ -377,6 +377,11 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
|||||||
*/
|
*/
|
||||||
public void stopSound(@NotNull String sound, @Nullable SoundCategory category);
|
public void stopSound(@NotNull String sound, @Nullable SoundCategory category);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stop all sounds from playing.
|
||||||
|
*/
|
||||||
|
public void stopAllSounds();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Plays an effect to just this player.
|
* Plays an effect to just this player.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user