From 85e6214166a3e1524d51ff74fca1a55f9c3233f0 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 7 Jan 2024 20:17:51 +0100 Subject: minor performance improvement --- src/main/java/at/hannibal2/skyhanni/features/combat/BestiaryData.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 } } -- cgit