aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/gui/elements/ModCard.java
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-27 18:36:51 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-04-27 18:36:51 +0200
commitee479dddc391a2cfb961ba1751e14884e933d3ff (patch)
treead88f551255b0069dfa46ec4aa4814d7f49e97c7 /src/main/java/io/polyfrost/oneconfig/gui/elements/ModCard.java
parenta93ec306e83f51e121441cb00f04cd9bb36d6951 (diff)
downloadOneConfig-ee479dddc391a2cfb961ba1751e14884e933d3ff.tar.gz
OneConfig-ee479dddc391a2cfb961ba1751e14884e933d3ff.tar.bz2
OneConfig-ee479dddc391a2cfb961ba1751e14884e933d3ff.zip
Option page start
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/gui/elements/ModCard.java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/gui/elements/ModCard.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/gui/elements/ModCard.java b/src/main/java/io/polyfrost/oneconfig/gui/elements/ModCard.java
index bb8b830..444094e 100644
--- a/src/main/java/io/polyfrost/oneconfig/gui/elements/ModCard.java
+++ b/src/main/java/io/polyfrost/oneconfig/gui/elements/ModCard.java
@@ -88,7 +88,7 @@ public class ModCard extends BasicElement {
for (Mod data : OneConfig.loadedMods) {
if (data.modType != ModType.OTHER) {
if (data.name.equalsIgnoreCase(modData.name)) {
- OneConfigGui.INSTANCE.openPage(new ModConfigPage(data));
+ OneConfigGui.INSTANCE.openPage(new ModConfigPage(data.defaultPage));
}
}
}