diff --git a/src/main/java/mod/acgaming/universaltweaks/config/UTConfigGeneral.java b/src/main/java/mod/acgaming/universaltweaks/config/UTConfigGeneral.java index 43f1b538..8b44d14e 100644 --- a/src/main/java/mod/acgaming/universaltweaks/config/UTConfigGeneral.java +++ b/src/main/java/mod/acgaming/universaltweaks/config/UTConfigGeneral.java @@ -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); } } } diff --git a/src/main/java/mod/acgaming/universaltweaks/util/compat/UTObsoleteModsHandler.java b/src/main/java/mod/acgaming/universaltweaks/util/compat/UTObsoleteModsHandler.java index 299e2980..8f732f66 100644 --- a/src/main/java/mod/acgaming/universaltweaks/util/compat/UTObsoleteModsHandler.java +++ b/src/main/java/mod/acgaming/universaltweaks/util/compat/UTObsoleteModsHandler.java @@ -197,11 +197,4 @@ public static void setHasShownObsoleteMods(boolean value) { hasShownObsoleteMods = value; } - - public static void resetObsoleteMods() - { - hasShownObsoleteMods = false; - obsoleteModsList = null; - } - } \ No newline at end of file