diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-28 02:19:28 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-28 02:19:28 +0200 |
commit | 301d9ba31dd852aa1ce5d2e8f24141dcebc5478b (patch) | |
tree | c6801526590de62cc8153f7847da70001f74561f /src/main/java | |
parent | 0424ab982ad0cacbec1e27fe7a9ac5e92caa4017 (diff) | |
download | skyhanni-301d9ba31dd852aa1ce5d2e8f24141dcebc5478b.tar.gz skyhanni-301d9ba31dd852aa1ce5d2e8f24141dcebc5478b.tar.bz2 skyhanni-301d9ba31dd852aa1ce5d2e8f24141dcebc5478b.zip |
optimized regex
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/DamageIndicatorManager.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/DamageIndicatorManager.kt b/src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/DamageIndicatorManager.kt index 0442fe99d..74e49dbb5 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/DamageIndicatorManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/combat/damageindicator/DamageIndicatorManager.kt @@ -56,7 +56,7 @@ class DamageIndicatorManager { private val maxHealth = mutableMapOf<UUID, Long>() private val config get() = SkyHanniMod.feature.combat.damageIndicator - private val enderSlayerHitsNumberPattern = "§c☠ §bVoidgloom Seraph .* §[5fd]§l(?<hits>\\d+) Hits?".toPattern() + private val enderSlayerHitsNumberPattern = "§c☠ §bVoidgloom Seraph \\w+ §[5fd]§l(?<hits>\\d+) Hits?".toPattern() companion object { private var data = mapOf<UUID, EntityData>() |