diff options
author | Empa <42304516+ItsEmpa@users.noreply.github.com> | 2024-05-31 15:10:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 23:10:09 +1000 |
commit | 063135f2fca4cf7853ad4501c1b627c7dec43fd3 (patch) | |
tree | 6e44ee9fbf3ef727525aed50646d1ded78df5619 /src/main/java | |
parent | d8b0d4bc0adc28927adb00b34f7b9852cd8a6b67 (diff) | |
download | skyhanni-063135f2fca4cf7853ad4501c1b627c7dec43fd3.tar.gz skyhanni-063135f2fca4cf7853ad4501c1b627c7dec43fd3.tar.bz2 skyhanni-063135f2fca4cf7853ad4501c1b627c7dec43fd3.zip |
Fix: Voidgloom Summons pattern (#1964)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt | 11 |
1 files 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 4680b04be..c656d0bef 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 |