aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorSeRaid <77941535+SeRaid743@users.noreply.github.com>2024-05-02 19:51:56 +1200
committerGitHub <noreply@github.com>2024-05-02 09:51:56 +0200
commit51815be4736bdbc54974b0e992b212a00ff4d19a (patch)
tree8762bdae08ac4a57693a2a3f0a3c66383b00b482 /src/main/java/at
parenta7980cdb60aede5cd269cbc4c4c5f3ec44fff98a (diff)
downloadskyhanni-51815be4736bdbc54974b0e992b212a00ff4d19a.tar.gz
skyhanni-51815be4736bdbc54974b0e992b212a00ff4d19a.tar.bz2
skyhanni-51815be4736bdbc54974b0e992b212a00ff4d19a.zip
disable mark low levels (#1626)
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt
index b561f52c6..e31eeaecb 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt
@@ -243,7 +243,9 @@ class DungeonFinderFeatures {
group("className")
}
}
- if (memberLevels.any { (it ?: Integer.MAX_VALUE) <= config.markBelowClassLevel }) {
+ if ((memberLevels.any {
+ (it ?: Integer.MAX_VALUE) <= config.markBelowClassLevel
+ }) && config.markBelowClassLevel != 0) {
map[slot] = LorenzColor.YELLOW
continue
}