mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-22 11:53:29 +01:00
remove outdated todo
This commit is contained in:
parent
035254227c
commit
1fa764854c
1 changed files with 0 additions and 1 deletions
|
@ -393,7 +393,6 @@ public class PipeNetwork implements ICapabilitySerializable<CompoundNBT>, GraphL
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getItemsOnTheWay(BlockPos goalInv, ItemStack type, ItemEqualityType... equalityTypes) {
|
public int getItemsOnTheWay(BlockPos goalInv, ItemStack type, ItemEqualityType... equalityTypes) {
|
||||||
// TODO pending auto-crafting requests should be marked as "on the way" here to allow over-sending prevention
|
|
||||||
return this.getPipeItemsOnTheWay(goalInv)
|
return this.getPipeItemsOnTheWay(goalInv)
|
||||||
.filter(i -> type == null || ItemEqualityType.compareItems(i.stack, type, equalityTypes))
|
.filter(i -> type == null || ItemEqualityType.compareItems(i.stack, type, equalityTypes))
|
||||||
.mapToInt(i -> i.stack.getCount()).sum();
|
.mapToInt(i -> i.stack.getCount()).sum();
|
||||||
|
|
Loading…
Reference in a new issue