From 05fd8b3dbe18ac8e23f2adc4a0a792d6435095d6 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Thu, 18 Apr 2024 00:59:11 +1000 Subject: Backend: Make TablistFooterUpdateEvent and cleanup TabListData (#1355) --- .../skyhanni/features/gui/customscoreboard/CustomScoreboardUtils.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/gui') 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) { -- cgit