aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-19 16:34:12 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-19 16:34:12 +0100
commit6a009358708b16ae8bac47f7a9b3070722914fd7 (patch)
treea1104b30cdf8db22320e293fd2fe3d9fa7d056bf /src/main/java/at/hannibal2/skyhanni/features
parent5bce043b0e666057aba89a886a43bcb4f9dda492 (diff)
downloadskyhanni-6a009358708b16ae8bac47f7a9b3070722914fd7.tar.gz
skyhanni-6a009358708b16ae8bac47f7a9b3070722914fd7.tar.bz2
skyhanni-6a009358708b16ae8bac47f7a9b3070722914fd7.zip
Fix startup problems
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt
index 37018d876..fd4ad8962 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt
@@ -325,7 +325,7 @@ object PowderTracker {
val perMin: MutableList<Long>
)
- private fun isEnabled() = config.enabled && IslandType.CRYSTAL_HOLLOWS.isInIsland()
+ private fun isEnabled() = IslandType.CRYSTAL_HOLLOWS.isInIsland() && config.enabled
fun resetCommand(args: Array<String>) {
tracker.resetCommand(args, "shresetpowdertracker")