Skip to content

Commit

Permalink
fixed some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
j10a1n15 committed Nov 19, 2023
1 parent 200eaf8 commit b301bcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class CustomScoreboard {
}

// Does not display this line
if (it[0] == "<hidden>") {
if (it.any { i-> i == "<hidden>"}) {
continue
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ enum class Events(private val displayLine: Supplier<List<String>>, private val s
// Mithril
if (ScoreboardData.sidebarLinesFormatted.any { it.startsWith("Event: ") }) {
list += ScoreboardData.sidebarLinesFormatted.first { it.startsWith("Event: ") }
.removePrefix("Event: ") + " §rin " + ScoreboardData.sidebarLinesFormatted.first { it.startsWith("Zone: ") }
.removePrefix("Event: ") + "\n§fin " + ScoreboardData.sidebarLinesFormatted.first { it.startsWith("Zone: ") }
.removePrefix("Zone: ")
}

Expand Down

0 comments on commit b301bcc

Please sign in to comment.