From 0db07a92e97e1bf6b9831a35df5e94a2d51ee591 Mon Sep 17 00:00:00 2001 From: Luna Date: Wed, 10 Apr 2024 20:11:09 +0200 Subject: Fix: Skill tab list pattern sometimes not matching (#1419) --- src/main/java/at/hannibal2/skyhanni/api/SkillAPI.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/api/SkillAPI.kt b/src/main/java/at/hannibal2/skyhanni/api/SkillAPI.kt index 02d0e9f89..55384443f 100644 --- a/src/main/java/at/hannibal2/skyhanni/api/SkillAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/api/SkillAPI.kt @@ -57,11 +57,11 @@ object SkillAPI { ) private val skillTabPattern by patternGroup.pattern( "skill.tab", - " (?\\w+) (?\\d+): §r§a(?.+)%$" + "(?:§e§lSkills: §r§a)?\\s*(?\\w+) (?\\d+): §r§.(?.+)%$" ) private val maxSkillTabPattern by patternGroup.pattern( "skill.tab.max", - "^§e§lSkills: §r§a(?\\w+) (?\\d+): §r§c§lMAX\$" + "(?:§e§lSkills: §r§a)?\\s*(?\\w+) (?\\d+): §r§c§lMAX\$" ) var skillXPInfoMap = mutableMapOf() -- cgit