diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-09 19:40:49 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-09 19:40:49 +0200 |
commit | ee4c67da5f18ea3731383259389ac9609b2de3bd (patch) | |
tree | d556c2a36f606ae2aa295abf74c368168899d442 /src/main/java/cc/polyfrost/oneconfig/gui/elements | |
parent | 6c97d4c2027ccad90aabdf2c818ab8d29e909007 (diff) | |
download | OneConfig-ee4c67da5f18ea3731383259389ac9609b2de3bd.tar.gz OneConfig-ee4c67da5f18ea3731383259389ac9609b2de3bd.tar.bz2 OneConfig-ee4c67da5f18ea3731383259389ac9609b2de3bd.zip |
fix exception
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/gui/elements')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/ModCard.java | 2 |
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; } |