Skip to content

Jukeboxes deleted via commands continue playing custom discs #60

Description

@dashaw92

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions