diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-05-01 18:38:19 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 18:38:19 +1000 |
commit | e096447a212484b269626cd42ab09356b76717d3 (patch) | |
tree | b82f4229170d3957ed21d55f4994e94499921fe5 | |
parent | f1ae3f0e509b4ba4199e15983d065f846a1e845f (diff) | |
download | skyhanni-e096447a212484b269626cd42ab09356b76717d3.tar.gz skyhanni-e096447a212484b269626cd42ab09356b76717d3.tar.bz2 skyhanni-e096447a212484b269626cd42ab09356b76717d3.zip |
Fix: Bring back shouldDisplay (#1617)
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/chocolatefactory/ChocolateFactoryStats.kt | 2 |
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)), |