Skip to content

Commit

Permalink
Fix disable update checks config not working for individual mods (#703)
Browse files Browse the repository at this point in the history
- Fixed disable_update_checker config option not working
  • Loading branch information
LostLuma authored Apr 18, 2024
1 parent fd9df7b commit 3560444
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,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 3560444

Please sign in to comment.