aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/OneConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/OneConfig.java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/OneConfig.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/OneConfig.java b/src/main/java/io/polyfrost/oneconfig/OneConfig.java
index 658536a..0715f4a 100644
--- a/src/main/java/io/polyfrost/oneconfig/OneConfig.java
+++ b/src/main/java/io/polyfrost/oneconfig/OneConfig.java
@@ -55,8 +55,8 @@ public class OneConfig {
}
public static void reloadModsList() {
- loadedMods.addAll(ConfigCore.settings.keySet());
- LinkedHashSet<Mod> modData = new LinkedHashSet<>(ConfigCore.settings.keySet());
+ loadedMods.addAll(ConfigCore.oneConfigMods);
+ LinkedHashSet<Mod> modData = new LinkedHashSet<>(ConfigCore.oneConfigMods);
for (ModContainer mod : Loader.instance().getActiveModList()) {
ModMetadata metadata = mod.getMetadata();
loadedOtherMods.add(metadata);