aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/gui
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-06-20 23:24:42 +0200
committerGitHub <noreply@github.com>2024-06-20 23:24:42 +0200
commit9810bf56d8852806a812ba77702b670bcfe91e61 (patch)
treed0b1c9b1bb101f57b5824938cd19a24c17f114b3 /src/main/java/at/hannibal2/skyhanni/features/gui
parent115aeb025e25e06216ec42031abba0ee7c1a32b6 (diff)
downloadskyhanni-9810bf56d8852806a812ba77702b670bcfe91e61.tar.gz
skyhanni-9810bf56d8852806a812ba77702b670bcfe91e61.tar.bz2
skyhanni-9810bf56d8852806a812ba77702b670bcfe91e61.zip
Debug: Added /shtestisland (#2107)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/gui')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt5
1 files changed, 3 insertions, 2 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 edabad06a..6249ac295 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
@@ -31,6 +31,7 @@ import at.hannibal2.skyhanni.features.gui.customscoreboard.CustomScoreboardUtils
import at.hannibal2.skyhanni.test.command.ErrorManager
import at.hannibal2.skyhanni.utils.CollectionUtils.editCopy
import at.hannibal2.skyhanni.utils.CollectionUtils.nextAfter
+import at.hannibal2.skyhanni.utils.LorenzUtils
import at.hannibal2.skyhanni.utils.LorenzUtils.inAdvancedMiningIsland
import at.hannibal2.skyhanni.utils.LorenzUtils.inAnyIsland
import at.hannibal2.skyhanni.utils.NumberUtil.addSeparators
@@ -63,7 +64,7 @@ private fun onRemoval(line: String) {
CustomScoreboardUtils.UndetectedScoreboardLines(message),
message,
"Unknown Lines" to confirmedUnknownLines,
- "Island" to HypixelData.skyBlockIsland,
+ "Island" to LorenzUtils.skyBlockIsland,
"Area" to HypixelData.skyBlockArea,
"Full Scoreboard" to ScoreboardData.sidebarLinesFormatted,
noStackTrace = true,
@@ -509,7 +510,7 @@ private fun getNorthStarsShowWhen() = inAnyIsland(IslandType.WINTER)
private fun getEmptyLineDisplayPair() = listOf("<empty>" to HorizontalAlignment.LEFT)
private fun getIslandDisplayPair() =
- listOf("§7㋖ §a" + HypixelData.skyBlockIsland.displayName to HorizontalAlignment.LEFT)
+ listOf("§7㋖ §a" + LorenzUtils.skyBlockIsland.displayName to HorizontalAlignment.LEFT)
private fun getLocationDisplayPair() = buildList {
HypixelData.skyBlockAreaWithSymbol?.let { add(it to HorizontalAlignment.LEFT) }