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

Jukebox.setPlaying() Not Working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • Linux

    • git-Spigot-4f661b2-d06991d (MC: 1.14.1)
    • n/a
    • Yes

      Jukebox.setPlaying( <material> ) does not start any music. No errors produced in the console. Tested with Jukebox.getPlaying() and it shows the jukebox is holding a (record) material. This code worked in 1.13.x

       

      // Example: record type was shown in console but no music played.
      Material record = jukeBox.getPlaying();
      log.info("Record: " + record);
      if (record != null && record != Material.AIR) jukeBox.setPlaying(record);

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

              Created:
              Updated:
              Resolved: