aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-07 20:17:51 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-07 20:17:51 +0100
commit85e6214166a3e1524d51ff74fca1a55f9c3233f0 (patch)
tree984e9bb0a2ab42ce901bb844abf419c43c88de08 /src
parent3e80baaa52ec40e429f1d523e299092103a6dc5a (diff)
downloadskyhanni-85e6214166a3e1524d51ff74fca1a55f9c3233f0.tar.gz
skyhanni-85e6214166a3e1524d51ff74fca1a55f9c3233f0.tar.bz2
skyhanni-85e6214166a3e1524d51ff74fca1a55f9c3233f0.zip
minor performance improvement
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/combat/BestiaryData.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/combat/BestiaryData.kt b/src/main/java/at/hannibal2/skyhanni/features/combat/BestiaryData.kt
index 32fa50328..49526c6f8 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/combat/BestiaryData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/combat/BestiaryData.kt
@@ -69,7 +69,7 @@ object BestiaryData {
if (lore.any { it == "§7Overall Progress: §b100% §7(§c§lMAX!§7)" || it == "§7Families Completed: §a100%" }) {
slot highlight LorenzColor.GREEN
}
- if (lore.any { it == "§7Overall Progress: §cHIDDEN" } && !overallProgressEnabled) {
+ if (!overallProgressEnabled && lore.any { it == "§7Overall Progress: §cHIDDEN" }) {
slot highlight LorenzColor.RED
}
}