Skip to content

Commit 6566dd5

Browse files
authored
Stop item pipes from self-inserting their own extractions (#1021)
1 parent f77e438 commit 6566dd5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/aztech/modern_industrialization/pipes/item/ItemNetwork.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,9 @@ private static int insertTargets(List<InsertTarget> targets, ServerLevel world,
278278
int moved = 0;
279279

280280
for (InsertTarget target : targets) {
281+
if (source.connection() == target.connection()) {
282+
continue;
283+
}
281284
var stack = source.storage().getStackInSlot(sourceSlot);
282285
if (stack.isEmpty()) {
283286
break;

0 commit comments

Comments
 (0)