aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java
diff options
context:
space:
mode:
authornextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com>2022-05-09 18:41:19 +0100
committernextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com>2022-05-09 18:41:19 +0100
commit20cf8146e88f3ca06399fdf163badef759f01d2c (patch)
treed35d06a2049171673d803ab284f413de511ff938 /src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java
parentf759dbc9f9582739cc693a18e128b0e37a3047d2 (diff)
parentee4c67da5f18ea3731383259389ac9609b2de3bd (diff)
downloadOneConfig-20cf8146e88f3ca06399fdf163badef759f01d2c.tar.gz
OneConfig-20cf8146e88f3ca06399fdf163badef759f01d2c.tar.bz2
OneConfig-20cf8146e88f3ca06399fdf163badef759f01d2c.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java')
-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 9e6d526..48a6218 100644
--- a/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java
+++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java
@@ -38,7 +38,7 @@ public class ModCard extends BasicElement {
toggled = active;
this.disabled = disabled;
this.favorite = favorite;
- favoriteHitbox.setToggled(true);
+ favoriteHitbox.setToggled(favorite);
toggled = active;
}