aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-06 09:31:35 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-06 09:31:35 +0100
commit88404bf8dc0f2aa9493000591e9db2e5d2caa369 (patch)
treeed5417202c31faa2d04d103b25b8744f04a0f9c2 /src/main
parent172254168c7a96f4fa85e06b82f38a51d1f3b654 (diff)
downloadskyhanni-88404bf8dc0f2aa9493000591e9db2e5d2caa369.tar.gz
skyhanni-88404bf8dc0f2aa9493000591e9db2e5d2caa369.tar.bz2
skyhanni-88404bf8dc0f2aa9493000591e9db2e5d2caa369.zip
checking in SkyBlock before checking config
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/combat/ghostcounter/GhostCounter.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/combat/ghostcounter/GhostCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/combat/ghostcounter/GhostCounter.kt
index 033934e6f..8f53aa5d9 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/combat/ghostcounter/GhostCounter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/combat/ghostcounter/GhostCounter.kt
@@ -517,5 +517,5 @@ object GhostCounter {
}
}
- fun isEnabled() = config.enabled && IslandType.DWARVEN_MINES.isInIsland()
+ fun isEnabled() = IslandType.DWARVEN_MINES.isInIsland() && config.enabled
}