From 301d9ba31dd852aa1ce5d2e8f24141dcebc5478b Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 28 Oct 2023 02:19:28 +0200 Subject: optimized regex --- .../skyhanni/features/combat/damageindicator/DamageIndicatorManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') 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() private val config get() = SkyHanniMod.feature.combat.damageIndicator - private val enderSlayerHitsNumberPattern = "§c☠ §bVoidgloom Seraph .* §[5fd]§l(?\\d+) Hits?".toPattern() + private val enderSlayerHitsNumberPattern = "§c☠ §bVoidgloom Seraph \\w+ §[5fd]§l(?\\d+) Hits?".toPattern() companion object { private var data = mapOf() -- cgit