diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-04-18 00:59:11 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-17 16:59:11 +0200 |
commit | 05fd8b3dbe18ac8e23f2adc4a0a792d6435095d6 (patch) | |
tree | edc31e53302e96162e9ee8b00c63de8332bfb060 /src/main/java/at/hannibal2/skyhanni/features/gui | |
parent | 7c85b30db375d968b4a969fd19301b399001dbc2 (diff) | |
download | skyhanni-05fd8b3dbe18ac8e23f2adc4a0a792d6435095d6.tar.gz skyhanni-05fd8b3dbe18ac8e23f2adc4a0a792d6435095d6.tar.bz2 skyhanni-05fd8b3dbe18ac8e23f2adc4a0a792d6435095d6.zip |
Backend: Make TablistFooterUpdateEvent and cleanup TabListData (#1355)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/gui')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboardUtils.kt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboardUtils.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboardUtils.kt index d93e40503..36774faa5 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboardUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboardUtils.kt @@ -35,9 +35,7 @@ object CustomScoreboardUtils { } fun getTablistFooter(): String { - val tabList = TabListData.getPlayerTabOverlay() - if (tabList.footer_skyhanni == null) return "" - return tabList.footer_skyhanni.formattedText.replace("§r", "") + return TabListData.getFooter().removeResets() } internal fun Number.formatNum(): String = when (displayConfig.numberFormat) { |