From 71dede983d1b6d0540529e3da629e8ccdadfeffe Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 17 Mar 2024 18:40:18 +0100 Subject: code cleanup + todo --- .../skyhanni/features/gui/customscoreboard/ScoreboardElements.kt | 1 + .../skyhanni/features/gui/customscoreboard/UnknownLinesHandler.kt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at') 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("" 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 */ -- cgit