Permalink
Browse files

Fixed pipes not transferring 0 durability items.

  • Loading branch information...
me4502 committed Apr 8, 2017
1 parent 491d016 commit 3c64e8a42c9699d59921dc3ee4603da495d9e50c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/sk89q/craftbook/util/ItemUtil.java
@@ -374,7 +374,7 @@ public static boolean areBaseItemsIdentical(ItemStack item, ItemStack item2) {
}
public static boolean isStackValid(ItemStack item) {
- return item != null && item.getAmount() > 0 && item.getTypeId() > 0 && (getMaxDurability(item.getType()) == 0 || item.getDurability() < getMaxDurability(item.getType()));
+ return item != null && item.getAmount() > 0 && item.getTypeId() > 0;
}
/**

0 comments on commit 3c64e8a

Please sign in to comment.