Skip to content

Commit

Permalink
remove unneeded reset
Browse files Browse the repository at this point in the history
  • Loading branch information
WaitingIdly committed Dec 20, 2024
1 parent ec9e544 commit 5b0037a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static void onConfigChanged(ConfigChangedEvent.OnConfigChangedEvent event
if (event.getModID().equals(UniversalTweaks.MODID))
{
ConfigManager.sync(UniversalTweaks.MODID, Config.Type.INSTANCE);
UTObsoleteModsHandler.resetObsoleteMods();
UTObsoleteModsHandler.setHasShownObsoleteMods(false);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,4 @@ public static void setHasShownObsoleteMods(boolean value)
{
hasShownObsoleteMods = value;
}

public static void resetObsoleteMods()
{
hasShownObsoleteMods = false;
obsoleteModsList = null;
}

}

0 comments on commit 5b0037a

Please sign in to comment.