diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-05-11 18:03:53 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-11 10:03:53 +0200 |
commit | 5f78e543901d4d5821a7b73a96af22afecc47a6e (patch) | |
tree | 4e53b5b6548fa4471db746a8d6d0bbc45d89ae3d | |
parent | f4936b013b39b7ea6615087d6f2e92a1d8ed978e (diff) | |
download | skyhanni-5f78e543901d4d5821a7b73a96af22afecc47a6e.tar.gz skyhanni-5f78e543901d4d5821a7b73a96af22afecc47a6e.tar.bz2 skyhanni-5f78e543901d4d5821a7b73a96af22afecc47a6e.zip |
Fix: Chocolate factory upgrade warning breaking (#1758)
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryCustomReminder.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryCustomReminder.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryCustomReminder.kt index 5e03ccb44..c2cabf08e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryCustomReminder.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryCustomReminder.kt @@ -34,7 +34,7 @@ object ChocolateFactoryCustomReminder { ChocolateFactoryAPI.profileStorage?.targetName = value } - fun isActive() = targetGoal != null + fun isActive() = targetGoal != null && configReminder.enabled private var display = emptyList<Renderable>() |