Skip to content

Commit

Permalink
Fix disable update checks config not working for individual mods
Browse files Browse the repository at this point in the history
  • Loading branch information
LostLuma committed Apr 13, 2024
1 parent 5006187 commit 7468e0a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,11 @@ public boolean isReal() {

@Override
public boolean allowsUpdateChecks() {
return this.allowsUpdateChecks || ModMenuConfig.DISABLE_UPDATE_CHECKER.getValue().contains(this.getId());
if (ModMenuConfig.DISABLE_UPDATE_CHECKER.getValue().contains(this.getId())) {
return false;
}

return this.allowsUpdateChecks;
}

@Override
Expand Down

0 comments on commit 7468e0a

Please sign in to comment.