diff options
Diffstat (limited to 'src/main')
-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)), |