aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/config/data/Mod.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/config/data/Mod.java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/config/data/Mod.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/config/data/Mod.java b/src/main/java/io/polyfrost/oneconfig/config/data/Mod.java
index bd6c3f3..095dded 100644
--- a/src/main/java/io/polyfrost/oneconfig/config/data/Mod.java
+++ b/src/main/java/io/polyfrost/oneconfig/config/data/Mod.java
@@ -8,7 +8,7 @@ public class Mod {
public final String creator;
public final String version;
public Config config;
- public OptionPage defaultPage = new OptionPage("", this);
+ public final OptionPage defaultPage;
/**
* @param name Friendly name of the mod
@@ -21,5 +21,6 @@ public class Mod {
this.modType = modType;
this.creator = creator;
this.version = version;
+ this.defaultPage = new OptionPage(name, this);
}
}