Skip to content

Commit

Permalink
Fix quantum bridge infinite update loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
shBLOCK committed Jan 13, 2024
1 parent 5300718 commit 8e378e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void updateStatus(boolean updateGrid) {
if (myOtherSide instanceof QuantumCluster sideB) {
var sideA = this;

if (sideA.isActive() && sideB.isActive()) {
if (sideA.isActive() && sideB.isActive() && sideA.getNode() != null && sideB.getNode() != null) {
if (this.connection != null && this.connection.getConnection() != null) {
final IGridNode a = this.connection.getConnection().a();
final IGridNode b = this.connection.getConnection().b();
Expand Down

0 comments on commit 8e378e1

Please sign in to comment.