diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-05-07 22:41:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-07 22:41:10 +0200 |
commit | 912c8d8a8c9ad412b2f94827e09a9cf262e5b69a (patch) | |
tree | 39abdb48d61f5989210e6e73a1254b36992449f3 /src/main/java/at/hannibal2/skyhanni/test | |
parent | 50f3954a3c0e15eb18ae864bbd28e0b645aa9d1b (diff) | |
download | skyhanni-912c8d8a8c9ad412b2f94827e09a9cf262e5b69a.tar.gz skyhanni-912c8d8a8c9ad412b2f94827e09a9cf262e5b69a.tar.bz2 skyhanni-912c8d8a8c9ad412b2f94827e09a9cf262e5b69a.zip |
Feature: Mining Commissions Blocks Color (#1701)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt b/src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt index 622aaeba1..95507c2b2 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/command/ErrorManager.kt @@ -118,7 +118,7 @@ object ErrorManager { val pair = if (throwable.stackTrace.isNotEmpty()) { throwable.stackTrace[0].let { (it.fileName ?: "<unknown>") to it.lineNumber } } else message to 0 - if (cache.contains(pair)) return + if (pair in cache) return cache.add(pair) } |