aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/gui/elements
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-11 13:12:13 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-11 13:12:13 +0200
commit5c16cd384103e0bdbef68fe378f49eb491eacef8 (patch)
tree10229e3ad25b290679b48dd62d348973bed28aaa /src/main/java/cc/polyfrost/oneconfig/gui/elements
parent463db48157f84e5cb13a828b5405ece29084fa22 (diff)
downloadOneConfig-5c16cd384103e0bdbef68fe378f49eb491eacef8.tar.gz
OneConfig-5c16cd384103e0bdbef68fe378f49eb491eacef8.tar.bz2
OneConfig-5c16cd384103e0bdbef68fe378f49eb491eacef8.zip
rename some things
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/gui/elements')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java
index 48a6218..7e4bd65 100644
--- a/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java
+++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java
@@ -86,7 +86,7 @@ public class ModCard extends BasicElement {
public void onClick() {
if (isHoveredMain) {
for (Mod data : OneConfig.loadedMods) {
- if (data.modType != ModType.OTHER) {
+ if (data.modType != ModType.THIRD_PARTY) {
if (data.name.equalsIgnoreCase(modData.name)) {
OneConfigGui.INSTANCE.openPage(new ModConfigPage(data.defaultPage));
}