[SPIGOT-1698] Jukebox.setPlaying(disc) no longer causes players to hear music Created: 03/Mar/16  Updated: 04/Mar/16  Resolved: 04/Mar/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Chandler Griscom Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: 1.9, api, jukebox
Environment:

Spigot 1.9, Java 7



 Description   

Running Jukebox.setPlaying() on the BlockState of a Jukebox block correctly inserts the disc into the Jukebox, but will not cause surrounding players to hear music.



 Comments   
Comment by Black Hole [ 04/Mar/16 ]

SPIGOT-1668

Comment by Chandler Griscom [ 04/Mar/16 ]

Yes, it works now.

Comment by Black Hole [ 03/Mar/16 ]

CraftJukebox.setPlaying() ist calling
world.playEffect(getLocation(), Effect.RECORD_PLAY, record.getId());

So it should work with a recent Spigot version, please test it.

Comment by Chandler Griscom [ 03/Mar/16 ]

The in-game insertion is fixed, but the API is not.

Comment by Black Hole [ 03/Mar/16 ]

Please update your Spigot version, it should already been fixed:
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/commits/2722a9e0cff3dd5d17db6fa2d57f2ef4bd949c4e

Comment by michael weite [ 03/Mar/16 ]

We have same issue the noise the juke box makes when putting in a disc is "door creek". It does this with all discs. removed all plugins on server and retested. same result.

Generated at Tue Apr 15 11:10:26 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.