aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-17 18:40:18 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-17 18:40:18 +0100
commit71dede983d1b6d0540529e3da629e8ccdadfeffe (patch)
tree6c99aa82554df4f76e5be6babb5abe214e188db0
parent5d5ec603043c1123ebc389329684bc189ec82350 (diff)
downloadskyhanni-71dede983d1b6d0540529e3da629e8ccdadfeffe.tar.gz
skyhanni-71dede983d1b6d0540529e3da629e8ccdadfeffe.tar.bz2
skyhanni-71dede983d1b6d0540529e3da629e8ccdadfeffe.zip
code cleanup + todo
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt1
2 files changed, 1 insertions, 1 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 58ca7ef4f..666b2a80b 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
@@ -398,6 +398,7 @@ 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()
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt
index 3c77cd248..e8b497da5 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt
@@ -112,7 +112,6 @@ object UnknownLinesHandler {
patternsToExclude.any { pattern -> pattern.matches(line) }
}
-
/*
* remove known text
*/