Skip to content

Disc in Jukebox gets deletet with pipes #1289

@Crousus

Description

@Crousus

Versions

CraftBook version: 3.10.5
Bukkit version: 1.18.1

Describe the bug
If you pipe in a music disc into a jukebox it only works if a disc is already in the jukebox. It also deletes the old disc when the new one is insertet.

To Reproduce

  • create a simple pipe system
  • put a jukebox to the end
  • try to pipe a disk into the empty jukebox
  • add disc to the jukebox
  • activate the pipe again

Expected behavior

  • it should be vise versa i think
  • only pipe in the disc when the jukebox is empty so the disc gets not deleted

Additional context

if (juke.getPlaying() != Material.AIR) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:pendingPending acceptance or closure.type:bugIncorrect behavior, not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions