From 7468e0adb4eab34c7ea4c4be10640ee30d35bf94 Mon Sep 17 00:00:00 2001 From: LostLuma Date: Sat, 13 Apr 2024 06:17:15 +0200 Subject: [PATCH] Fix disable update checks config not working for individual mods --- .../terraformersmc/modmenu/util/mod/fabric/FabricMod.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/terraformersmc/modmenu/util/mod/fabric/FabricMod.java b/src/main/java/com/terraformersmc/modmenu/util/mod/fabric/FabricMod.java index b9d0dc941..4a1a42897 100644 --- a/src/main/java/com/terraformersmc/modmenu/util/mod/fabric/FabricMod.java +++ b/src/main/java/com/terraformersmc/modmenu/util/mod/fabric/FabricMod.java @@ -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