diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-04-27 15:02:15 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-04-27 15:02:15 +0200 |
commit | a93ec306e83f51e121441cb00f04cd9bb36d6951 (patch) | |
tree | dfed34f8b89700276386ee941a76277e7ea26404 /src/main/java/io/polyfrost/oneconfig/OneConfig.java | |
parent | 32e80596448ca536335638a63b1c7eccb8a12e95 (diff) | |
download | OneConfig-a93ec306e83f51e121441cb00f04cd9bb36d6951.tar.gz OneConfig-a93ec306e83f51e121441cb00f04cd9bb36d6951.tar.bz2 OneConfig-a93ec306e83f51e121441cb00f04cd9bb36d6951.zip |
Some more config refinements and some gui improvements
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/OneConfig.java')
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/OneConfig.java | 4 |
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); |