From 4fdc7858ce3a480f983c3a12ff0a0627533e3c93 Mon Sep 17 00:00:00 2001 From: ronald Date: Sat, 29 Jul 2023 15:31:56 -0500 Subject: tiny optimization --- src/main/kotlin/com/dulkirfabric/features/filters/DamageNumbers.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main/kotlin/com/dulkirfabric/features/filters/DamageNumbers.kt b/src/main/kotlin/com/dulkirfabric/features/filters/DamageNumbers.kt index 0f94a80..68b16cf 100644 --- a/src/main/kotlin/com/dulkirfabric/features/filters/DamageNumbers.kt +++ b/src/main/kotlin/com/dulkirfabric/features/filters/DamageNumbers.kt @@ -25,6 +25,7 @@ object DamageNumbers { val name = it.customName?.string ?: return@forEach if (name matches nonCritFormat && DulkirConfig.configOptions.hideNonCrits) { it.isCustomNameVisible = false + return@forEach } if (name.startsWith('✧')) { if (DulkirConfig.configOptions.hideCrits) { -- cgit