aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-05-01 18:38:19 +1000
committerGitHub <noreply@github.com>2024-05-01 18:38:19 +1000
commite096447a212484b269626cd42ab09356b76717d3 (patch)
treeb82f4229170d3957ed21d55f4994e94499921fe5 /src/main/java/at
parentf1ae3f0e509b4ba4199e15983d065f846a1e845f (diff)
downloadskyhanni-e096447a212484b269626cd42ab09356b76717d3.tar.gz
skyhanni-e096447a212484b269626cd42ab09356b76717d3.tar.bz2
skyhanni-e096447a212484b269626cd42ab09356b76717d3.zip
Fix: Bring back shouldDisplay (#1617)
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryStats.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryStats.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryStats.kt
index a30848d43..f8ef3baf7 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryStats.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryStats.kt
@@ -84,7 +84,7 @@ object ChocolateFactoryStats {
"§eRaw Per Second: §6${profileStorage.rawChocPerSecond.addSeparators()}"
)
}
- val text = config.statsDisplayList.mapNotNull { map[it] }
+ val text = config.statsDisplayList.filter { it.shouldDisplay() }.mapNotNull { map[it] }
display = listOf(Renderable.clickAndHover(
Renderable.verticalContainer(text.map(Renderable::string)),