diff options
author | J10a1n15 <45315647+j10a1n15@users.noreply.github.com> | 2024-04-04 21:08:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 21:08:46 +0200 |
commit | aa9bbeaf75c571b88f02874f480da04f8424d78d (patch) | |
tree | 8f99fcef41f71b16a8370ffb2d617207bde33e97 /src/main/java/at/hannibal2/skyhanni/features/gui | |
parent | 15db91ced38a8cc4c7c16565422fce5566c6057c (diff) | |
download | skyhanni-aa9bbeaf75c571b88f02874f480da04f8424d78d.tar.gz skyhanni-aa9bbeaf75c571b88f02874f480da04f8424d78d.tar.bz2 skyhanni-aa9bbeaf75c571b88f02874f480da04f8424d78d.zip |
Improvement: Use SkyblockArea.skyblockAreaWithSymbol for Custom Scoreboard Area (#1350)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/gui')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt index d3e3b6c1c..65d8d880c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt @@ -482,13 +482,8 @@ private fun getEmptyLineDisplayPair() = listOf("<empty>" to HorizontalAlignment. private fun getIslandDisplayPair() = listOf("§7㋖ §a" + HypixelData.skyBlockIsland.displayName to HorizontalAlignment.LEFT) -// TODO merge with LorenzUtils.skyBlockArea private fun getLocationDisplayPair() = buildList { - val location = - getGroupFromPattern(ScoreboardData.sidebarLinesFormatted, ScoreboardPattern.locationPattern, "location").trim() - if (location == "0") return@buildList - - add(location to HorizontalAlignment.LEFT) + add(HypixelData.skyBlockAreaWithSymbol to HorizontalAlignment.LEFT) ScoreboardData.sidebarLinesFormatted.firstOrNull { ScoreboardPattern.plotPattern.matches(it) } ?.let { add(it to HorizontalAlignment.LEFT) } |