[SPIGOT-7071] Add Player#stopSound(SoundCategory category) Created: 19/Jun/22 Updated: 25/Dec/24 Resolved: 01/Jul/22 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor |
| Reporter: | SkytAsul | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Version: | 1.19 |
| Guidelines Read: | Yes |
| Description |
|
There is currently no method to stop a sound category from playing, and we cannot use Player#stopSound(Sound sound, SoundCategory category) with the "sound" argument null as it is not nullable. |
| Comments |
| Comment by MartenM [ 20/Jun/22 ] |
|
PR for this feature: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/765/overview |