From f4c86a2817de01724e12795e4bac04308293c8a0 Mon Sep 17 00:00:00 2001 From: Empa <42304516+ItsEmpa@users.noreply.github.com> Date: Sat, 6 Jan 2024 12:07:00 +0100 Subject: Fix: Fix IslandType detection for The Rift (#877) Changed regex in case hypixel changes color codes for island name in tab list. #877 --- src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt index de319c0f9..0ba26998a 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt @@ -29,7 +29,7 @@ class HypixelData { private val group = RepoPattern.group("data.hypixeldata") private val tabListProfilePattern by group.pattern("tablistprofile", "§e§lProfile: §r§a(?.*)") private val lobbyTypePattern by group.pattern("lobbytype", "(?.*lobby)\\d+") - private val islandNamePattern by group.pattern("islandname", "§b§l(Area|Dungeon): §r§7(?.*)") + private val islandNamePattern by group.pattern("islandname", "(?:§.)*(Area|Dungeon): (?:§.)*(?.*)") private var lastLocRaw = 0L -- cgit