mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-12-22 15:39:22 +01:00
parent
652b3538d2
commit
4212b45e7a
1 changed files with 2 additions and 0 deletions
|
@ -333,6 +333,8 @@ public class PipeNetwork extends SavedData implements GraphListener<BlockPos, Ne
|
|||
for (var craft : pipe.getActiveCrafts()) {
|
||||
if (!includeCanceled && craft.canceled)
|
||||
continue;
|
||||
if (craft.resultStackRemain.isEmpty())
|
||||
continue;
|
||||
// add up all the items that should go to the same location
|
||||
var existing = items.stream()
|
||||
.filter(s -> s.getLeft().equals(craft.resultDestPipe) && ItemEquality.compareItems(s.getRight(), craft.resultStackRemain, equalityTypes))
|
||||
|
|
Loading…
Reference in a new issue