Permalink
Browse files

Fixed a minor bug in Pipe jukebox handling.

  • Loading branch information...
me4502 committed Sep 7, 2017
1 parent 46527cf commit e3d7926ed468979b369b24d5c0ff00985d53ddda
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/sk89q/craftbook/mechanics/pipe/Pipes.java
@@ -240,7 +240,7 @@ else if (off.getType() == Material.THIN_GLASS || off.getType() == Material.STAIN
} else if (fac.getType() == Material.JUKEBOX) {
Jukebox juke = (Jukebox) fac.getState();
List<ItemStack> its = new ArrayList<>(event.getItems());
if (!juke.isPlaying()) {
if (juke.getPlaying() != Material.AIR) {
Iterator<ItemStack> iter = its.iterator();
while (iter.hasNext()) {
ItemStack st = iter.next();

0 comments on commit e3d7926

Please sign in to comment.