aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-03-26 20:20:28 +0100
committerGitHub <noreply@github.com>2024-03-26 20:20:28 +0100
commit7e597f25949aad4567ebba6bf8908a5ff74bb1a1 (patch)
tree051f605447f7a9ba17a4dcaefd164728e5b1f782 /src/main/java/at/hannibal2
parentf02cea10acdaa98948fa33545db6d805852e334d (diff)
downloadskyhanni-7e597f25949aad4567ebba6bf8908a5ff74bb1a1.tar.gz
skyhanni-7e597f25949aad4567ebba6bf8908a5ff74bb1a1.tar.bz2
skyhanni-7e597f25949aad4567ebba6bf8908a5ff74bb1a1.zip
Fix: Fixed Mining Events Priority in Custom Scoreboard (#1278)
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt
index dabe6968b..1722cd431 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardEvents.kt
@@ -183,7 +183,7 @@ enum class ScoreboardEvents(
}
}
} else {
- add(eventsConfig.eventEntries.firstOrNull { it.showWhen() })
+ add(eventsConfig.eventEntries.firstOrNull { it.showWhen() && it.getLines().isNotEmpty() })
}
}