[SPIGOT-4963] Jukebox.setPlaying() Not Working Created: 20/May/19 Updated: 20/May/19 Resolved: 20/May/19 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | village_admin | Assignee: | Unassigned |
| Resolution: | Invalid | Votes: | 0 |
| Labels: | Jukebox.setPlaying() | ||
| Environment: |
Linux |
||
| Version: | git-Spigot-4f661b2-d06991d (MC: 1.14.1) |
| Plugin: | n/a |
| Guidelines Read: | Yes |
| Description |
|
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); |
| Comments |
| Comment by md_5 [ 20/May/19 ] |
|
You forgot .update I tested this last night and it worked exactly as 1.13 |