This isn't a huge issue because regular players (probably) can't access any of the commands relevant to this bug, but it's something I noticed.
I tested two methods to verify this:
- Vanilla
/setblock, /fill, etc.
- WorldEdit
//set, //replace, etc.
If you perform either of these commands and the resulting changes include deleting an active jukebox with a custom disc, the custom disc's audio will continue playing as if nothing happened because the plugin doesn't check for these methods of disc ejection. Once in this state, you'll be left with a ghost audio source at the original jukebox location until the audio track is completed. The only ways I found to return the plugin to a normal state are to place a jukebox where the original active one was and insert and eject any custom disc or simply break the jukebox via "normal" means (player block break). Doing anything of this nature will cause the original audio to stop playback as if nothing happened.
This isn't a huge issue because regular players (probably) can't access any of the commands relevant to this bug, but it's something I noticed.
I tested two methods to verify this:
/setblock,/fill, etc.//set,//replace, etc.If you perform either of these commands and the resulting changes include deleting an active jukebox with a custom disc, the custom disc's audio will continue playing as if nothing happened because the plugin doesn't check for these methods of disc ejection. Once in this state, you'll be left with a ghost audio source at the original jukebox location until the audio track is completed. The only ways I found to return the plugin to a normal state are to place a jukebox where the original active one was and insert and eject any custom disc or simply break the jukebox via "normal" means (player block break). Doing anything of this nature will cause the original audio to stop playback as if nothing happened.