aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorEmpa <42304516+ItsEmpa@users.noreply.github.com>2024-01-06 12:07:00 +0100
committerGitHub <noreply@github.com>2024-01-06 12:07:00 +0100
commitf4c86a2817de01724e12795e4bac04308293c8a0 (patch)
tree1187f312404b3a9891b8931a537f250c53fde371 /src/main/java/at
parent0d9ef97ee93c23f627af93e15363d392f1745e83 (diff)
downloadskyhanni-f4c86a2817de01724e12795e4bac04308293c8a0.tar.gz
skyhanni-f4c86a2817de01724e12795e4bac04308293c8a0.tar.bz2
skyhanni-f4c86a2817de01724e12795e4bac04308293c8a0.zip
Fix: Fix IslandType detection for The Rift (#877)
Changed regex in case hypixel changes color codes for island name in tab list. #877
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt2
1 files changed, 1 insertions, 1 deletions
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(?<profile>.*)")
private val lobbyTypePattern by group.pattern("lobbytype", "(?<lobbyType>.*lobby)\\d+")
- private val islandNamePattern by group.pattern("islandname", "§b§l(Area|Dungeon): §r§7(?<island>.*)")
+ private val islandNamePattern by group.pattern("islandname", "(?:§.)*(Area|Dungeon): (?:§.)*(?<island>.*)")
private var lastLocRaw = 0L