diff options
author | ooffyy <72337907+realooffyy@users.noreply.github.com> | 2024-03-11 16:16:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 17:16:55 +0100 |
commit | fc685f298cccbc832094bfa3c115f82bc155b228 (patch) | |
tree | dc4339d9fae7d881b7b8a229e87ac0c7fbba54d1 /src/main/java | |
parent | 5b53cc7bda66be5f740749f9fd0cba23927c4d82 (diff) | |
download | skyhanni-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/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/skillprogress/SkillProgress.kt | 2 |
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) { |