CraftBook 3

CraftBook 3

139k Downloads

Disc in Jukebox gets deletet with pipes

Crousus opened this issue ยท 0 comments

commented

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