From a93ec306e83f51e121441cb00f04cd9bb36d6951 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Wed, 27 Apr 2022 15:02:15 +0200 Subject: Some more config refinements and some gui improvements --- src/main/java/io/polyfrost/oneconfig/OneConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/io/polyfrost/oneconfig/OneConfig.java') 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 modData = new LinkedHashSet<>(ConfigCore.settings.keySet()); + loadedMods.addAll(ConfigCore.oneConfigMods); + LinkedHashSet modData = new LinkedHashSet<>(ConfigCore.oneConfigMods); for (ModContainer mod : Loader.instance().getActiveModList()) { ModMetadata metadata = mod.getMetadata(); loadedOtherMods.add(metadata); -- cgit