diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/entity/Player.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java index d3210229..4fa46f08 100644 --- a/src/main/java/org/bukkit/entity/Player.java +++ b/src/main/java/org/bukkit/entity/Player.java @@ -285,6 +285,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. * * @param loc the location to play the effect at |