Skip to content

Commit

Permalink
Fixed itemstack validity check in Pipes.
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 committed Nov 4, 2016
1 parent 1f22479 commit 7865c88
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -379,7 +379,7 @@ public void startPipe(Block block, List<ItemStack> items, boolean request) {

if (!items.isEmpty()) {
for (ItemStack item : items) {
if (item == null) continue;
if (!ItemUtil.isStackValid(item)) continue;
block.getWorld().dropItem(BlockUtil.getBlockCentre(block), item);
}
} else juke.setPlaying(null);
Expand Down

0 comments on commit 7865c88

Please sign in to comment.