Skip to content

Commit

Permalink
Fix infinite recursion problem
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Oct 10, 2019
1 parent 644f644 commit 38792d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable D
return networkNodeProxyCap.cast();
}

return super.getCapability(cap);
return super.getCapability(cap, direction);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable D
return networkNodeProxy.cast();
}

return super.getCapability(cap);
return super.getCapability(cap, direction);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable D
return energyStorageCap.cast();
}

return super.getCapability(cap);
return super.getCapability(cap, direction);
}

public void onOpened() {
Expand Down

0 comments on commit 38792d0

Please sign in to comment.