From 21b8cbbcbc542d9b11cfe455458a0127ad5646ad Mon Sep 17 00:00:00 2001 From: Sebastian Hartte Date: Fri, 15 Mar 2024 15:48:26 +0100 Subject: [PATCH] Tunnels should not disconnect when they were active but moved to a grid that is rebooting (causes reboot loop). --- src/main/java/appeng/parts/p2p/P2PTunnelPart.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/appeng/parts/p2p/P2PTunnelPart.java b/src/main/java/appeng/parts/p2p/P2PTunnelPart.java index 8995eda1b82..435d1ed18c1 100644 --- a/src/main/java/appeng/parts/p2p/P2PTunnelPart.java +++ b/src/main/java/appeng/parts/p2p/P2PTunnelPart.java @@ -89,7 +89,7 @@ public List getOutputs() { } public Stream getOutputStream() { - if (this.getMainNode().isActive()) { + if (this.getMainNode().isOnline()) { var grid = getMainNode().getGrid(); if (grid != null) { return P2PService.get(grid).getOutputs(this.getFrequency(), this.getClass());