Playing Custom Sounds from Resource Packs Causes Error

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      Spigot 1.9

      Using the deprecated playSound(String...) method to play custom sounds via a resource pack worked in 1.8, but causes an error in 1.9:

      Caused by: java.lang.IllegalArgumentException: Sound effect magic.wandup does not exist
      

      I was previously able to use playSound with the string "magic.wandup" to play that sound as defined in a server resource pack.

      Is there any way to make that work again?

      Relates (loosely) to SPIGOT-251 and SPIGOT-1528

            Assignee:
            Unassigned
            Reporter:
            Nathan Wolf
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: