diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-04-27 18:36:51 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-04-27 18:36:51 +0200 |
commit | ee479dddc391a2cfb961ba1751e14884e933d3ff (patch) | |
tree | ad88f551255b0069dfa46ec4aa4814d7f49e97c7 /src/main/java/io/polyfrost/oneconfig/gui/elements/ModCard.java | |
parent | a93ec306e83f51e121441cb00f04cd9bb36d6951 (diff) | |
download | OneConfig-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.java | 2 |
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)); } } } |