Skip to content

Commit d4eb85f

Browse files
committed
Try to recalculate idle paths when they reach their destination rather than just having them indefinitely idle
1 parent 99747f3 commit d4eb85f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/mekanism/common/content/network/transmitter/LogisticalTransporterBase.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ public void onUpdateServer() {
217217
tryRecalculate = !connectionType.canSendTo() ||
218218
!TransporterUtils.canInsert(getLevel(), stack.getDest(), stack.color, stack.itemStack, side, pathType.isHome());
219219
} else {
220-
tryRecalculate = pathType.isHome();
220+
//Try to recalculate idles once they reach their destination
221+
tryRecalculate = true;
221222
}
222223
} else {
223224
LogisticalTransporterBase nextTransmitter = network.getTransmitter(stack.getNext(this));

0 commit comments

Comments
 (0)