aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorooffyy <72337907+realooffyy@users.noreply.github.com>2024-03-11 16:16:55 +0000
committerGitHub <noreply@github.com>2024-03-11 17:16:55 +0100
commitfc685f298cccbc832094bfa3c115f82bc155b228 (patch)
treedc4339d9fae7d881b7b8a229e87ac0c7fbba54d1 /src
parent5b53cc7bda66be5f740749f9fd0cba23927c4d82 (diff)
downloadskyhanni-fc685f298cccbc832094bfa3c115f82bc155b228.tar.gz
skyhanni-fc685f298cccbc832094bfa3c115f82bc155b228.tar.bz2
skyhanni-fc685f298cccbc832094bfa3c115f82bc155b228.zip
Disable action bar hider if Skill Progress feature is disabled (#1137)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillProgress.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillProgress.kt b/src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillProgress.kt
index 7199a1d56..ca9c5b5fe 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillProgress.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillProgress.kt
@@ -218,7 +218,7 @@ object SkillProgress {
@SubscribeEvent(priority = EventPriority.LOW)
fun onActionBar(event: ActionBarUpdateEvent) {
- if (!config.hideInActionBar) return
+ if (!config.hideInActionBar || !isEnabled()) return
if (event.isCanceled) return
var msg = event.actionBar
for (line in hideInActionBar) {