aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/config/interfaces
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-27 15:02:15 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-27 15:02:15 +0200
commita93ec306e83f51e121441cb00f04cd9bb36d6951 (patch)
treedfed34f8b89700276386ee941a76277e7ea26404 /src/main/java/io/polyfrost/oneconfig/config/interfaces
parent32e80596448ca536335638a63b1c7eccb8a12e95 (diff)
downloadOneConfig-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/config/interfaces')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/config/interfaces/Config.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/config/interfaces/Config.java b/src/main/java/io/polyfrost/oneconfig/config/interfaces/Config.java
index c68162e..0539d5f 100644
--- a/src/main/java/io/polyfrost/oneconfig/config/interfaces/Config.java
+++ b/src/main/java/io/polyfrost/oneconfig/config/interfaces/Config.java
@@ -2,6 +2,7 @@ package io.polyfrost.oneconfig.config.interfaces;
import com.google.gson.*;
import io.polyfrost.oneconfig.config.annotations.Option;
+import io.polyfrost.oneconfig.config.core.ConfigCore;
import io.polyfrost.oneconfig.config.data.Mod;
import io.polyfrost.oneconfig.config.data.OptionPage;
import io.polyfrost.oneconfig.config.profiles.Profiles;
@@ -34,6 +35,7 @@ public class Config {
else save();
mod.config = this;
generateOptionList(this.getClass(), mod.defaultPage);
+ ConfigCore.oneConfigMods.add(mod);
}
/**