Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-7071

Add Player#stopSound(SoundCategory category)

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • 1.19
    • Yes

      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.
      My solution is to add a Player#stopSound(SoundCategory category) method.

            Unassigned Unassigned
            SkytAsul SkytAsul
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: