diff options
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/internal/config/InternalConfig.java')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/internal/config/InternalConfig.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/internal/config/InternalConfig.java b/src/main/java/cc/polyfrost/oneconfig/internal/config/InternalConfig.java index f0b065e..df90c19 100644 --- a/src/main/java/cc/polyfrost/oneconfig/internal/config/InternalConfig.java +++ b/src/main/java/cc/polyfrost/oneconfig/internal/config/InternalConfig.java @@ -19,12 +19,11 @@ public abstract class InternalConfig extends Config { } @Override - public void init(Mod mod) { + public void initialize() { if (new File("OneConfig/" + configFile).exists()) load(); else save(); generateOptionList(this, mod.defaultPage, mod, false); mod.config = this; - this.mod = mod; } @Override |