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

Add Player#stopSound(SoundCategory category)

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • None
    • None
    • None
    • 1.19
    • 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.
      My solution is to add a Player#stopSound(SoundCategory category) method.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: