aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-08-16 11:16:42 +0200
committerGitHub <noreply@github.com>2024-08-16 11:16:42 +0200
commit9a886b7a771fa3356b92a9c1a5af315882dc9730 (patch)
treea4157ce2aa67d1e4d7d58ec7910699fe66851d8b /src/main/java/at/hannibal2
parent7dee7d8a3a5e0ae28317aea50adb6c5d27109e82 (diff)
downloadskyhanni-9a886b7a771fa3356b92a9c1a5af315882dc9730.tar.gz
skyhanni-9a886b7a771fa3356b92a9c1a5af315882dc9730.tar.bz2
skyhanni-9a886b7a771fa3356b92a9c1a5af315882dc9730.zip
Fix: SplatterHearts ConcurrentModificationException (#2349)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/rift/area/stillgorechateau/SplatterHearts.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/rift/area/stillgorechateau/SplatterHearts.kt b/src/main/java/at/hannibal2/skyhanni/features/rift/area/stillgorechateau/SplatterHearts.kt
index cd4059437..940fa4f9d 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/rift/area/stillgorechateau/SplatterHearts.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/rift/area/stillgorechateau/SplatterHearts.kt
@@ -27,7 +27,7 @@ object SplatterHearts {
if (event.count != 3 || event.speed != 0f) return
if (lastHearts.passedSince() > 50.milliseconds) {
- shownHearts = currentHearts
+ shownHearts = currentHearts.toSet()
currentHearts.clear()
}
lastHearts = SimpleTimeMark.now()