Skip to content

Commit

Permalink
Fixed winter event lines
Browse files Browse the repository at this point in the history
  • Loading branch information
j10a1n15 committed Dec 10, 2023
1 parent 0f61985 commit b404a15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,16 +248,16 @@ enum class Events(private val displayLine: Supplier<List<String>>, private val s
if (ScoreboardData.sidebarLinesFormatted.any { it.startsWith("§cWave ") }) {
list += ScoreboardData.sidebarLinesFormatted.firstOrNull { it.startsWith("§cWave ") } ?: "<hidden>"
}
if (ScoreboardData.sidebarLinesFormatted.any { it.startsWith("Magma Cubes Left§c") }) {
list += ScoreboardData.sidebarLinesFormatted.firstOrNull { it.startsWith("Magma Cubes Left§c") }
if (ScoreboardData.sidebarLinesFormatted.any { it.startsWith("Magma Cubes Left") }) {
list += ScoreboardData.sidebarLinesFormatted.firstOrNull { it.startsWith("Magma Cubes Left") }
?: "<hidden>"
}
if (ScoreboardData.sidebarLinesFormatted.any { it.startsWith("Your Total Dama") }) {
list += ScoreboardData.sidebarLinesFormatted.firstOrNull { it.startsWith("Your Total Dama") }
?: "<hidden>"
}
if (ScoreboardData.sidebarLinesFormatted.any { it.startsWith("Your Cube Damage§c") }) {
list += ScoreboardData.sidebarLinesFormatted.firstOrNull { it.startsWith("Your Cube Damage§c") }
if (ScoreboardData.sidebarLinesFormatted.any { it.startsWith("Your Cube Damage") }) {
list += ScoreboardData.sidebarLinesFormatted.firstOrNull { it.startsWith("Your Cube Damage") }
?: "<hidden>"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ class InformationGetter {
"Event Start: §a",
"Next Wave: §a",
"§cWave",
"Magma Cubes Left§c",
"Magma Cubes Left",
"Your Total Damag",
"Your Cube Damage§c",
"Your Cube Damage",
"§6Spooky Festival§f",
"§dNew Year Event",
"§aTraveling Zoo",
Expand Down

0 comments on commit b404a15

Please sign in to comment.