Skip to content

Commit

Permalink
Tunnels should not disconnect when they were active but moved to a gr…
Browse files Browse the repository at this point in the history
…id that is rebooting (causes reboot loop).
  • Loading branch information
shartte committed Mar 15, 2024
1 parent ea80405 commit 21b8cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/appeng/parts/p2p/P2PTunnelPart.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public List<T> getOutputs() {
}

public Stream<T> 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());
Expand Down

0 comments on commit 21b8cbb

Please sign in to comment.