aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-10-20 23:47:52 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-10-20 23:47:52 +0200
commitcd2ada8a83ea4d983ee1283807664923bcab8c4a (patch)
treeb035bb5aba437e1d15ba0404a1b8cfb114a10a2f
parentc9f0241740fc3a30dc335932da877832a467b39d (diff)
downloadSkyHanni-cd2ada8a83ea4d983ee1283807664923bcab8c4a.tar.gz
SkyHanni-cd2ada8a83ea4d983ee1283807664923bcab8c4a.tar.bz2
SkyHanni-cd2ada8a83ea4d983ee1283807664923bcab8c4a.zip
added todos
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/elements/ScoreboardElementParty.kt1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt
index d9ed926dd..872bb3052 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboard.kt
@@ -124,6 +124,7 @@ object CustomScoreboard {
dirty = true
}
+ // TODO move those into their respective classes and make them private
internal val config get() = SkyHanniMod.feature.gui.customScoreboard
internal val displayConfig get() = config.display
internal val alignmentConfig get() = displayConfig.alignment
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/elements/ScoreboardElementParty.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/elements/ScoreboardElementParty.kt
index be5249a87..abd31a8cc 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/elements/ScoreboardElementParty.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/elements/ScoreboardElementParty.kt
@@ -11,6 +11,7 @@ import at.hannibal2.skyhanni.utils.LorenzUtils.inAnyIsland
// internal
// add party update event
object ScoreboardElementParty : ScoreboardElement() {
+ // TODO cache until next party update event
override fun getDisplay() = buildList {
if (PartyAPI.partyMembers.isEmpty() && informationFilteringConfig.hideEmptyLines) return@buildList