From 063135f2fca4cf7853ad4501c1b627c7dec43fd3 Mon Sep 17 00:00:00 2001 From: Empa <42304516+ItsEmpa@users.noreply.github.com> Date: Fri, 31 May 2024 15:10:09 +0200 Subject: [PATCH] Fix: Voidgloom Summons pattern (#1964) --- .../features/summonings/SummoningMobManager.kt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt b/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt index 4680b04be296..c656d0bef4a7 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt @@ -16,8 +16,8 @@ import at.hannibal2.skyhanni.utils.LorenzColor import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.LorenzUtils.baseMaxHealth import at.hannibal2.skyhanni.utils.NumberUtil -import at.hannibal2.skyhanni.utils.RenderUtils.renderStrings import at.hannibal2.skyhanni.utils.RegexUtils.matchMatcher +import at.hannibal2.skyhanni.utils.RenderUtils.renderStrings import at.hannibal2.skyhanni.utils.getLorenzVec import at.hannibal2.skyhanni.utils.repopatterns.RepoPattern import net.minecraft.entity.EntityLiving @@ -49,9 +49,14 @@ class SummoningMobManager { "health", "§a§o(.+)'s (.+)§r §[ae]([\\dkm]+)§c❤" ) - private val seraphRecallPattern by patternGroup.pattern( //§cThe Seraph recalled your 3 summoned allies! + + /** + * REGEX-TEST: §cThe Seraph recalled your 3 summoned allies! + * REGEX-TEST: §cThe Seraph recalled your 10 summoned allies! + */ + private val seraphRecallPattern by patternGroup.pattern( "seraphrecall", - "§cThe Seraph recalled your (\\d) summoned allies!" + "§cThe Seraph recalled your (\\d+) summoned allies!" ) @SubscribeEvent