Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disc in Jukebox gets deletet with pipes #1289

Open
Crousus opened this issue Jan 11, 2022 · 0 comments
Open

Disc in Jukebox gets deletet with pipes #1289

Crousus opened this issue Jan 11, 2022 · 0 comments
Labels
status:pending Pending acceptance or closure. type:bug Incorrect behavior, not working as intended

Comments

@Crousus
Copy link

Crousus commented Jan 11, 2022

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) {

@Crousus Crousus added status:pending Pending acceptance or closure. type:bug Incorrect behavior, not working as intended labels Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:pending Pending acceptance or closure. type:bug Incorrect behavior, not working as intended
Projects
None yet
Development

No branches or pull requests

1 participant