diff options
author | ronald <inglettronald@gmail.com> | 2023-07-29 15:31:56 -0500 |
---|---|---|
committer | ronald <inglettronald@gmail.com> | 2023-07-29 15:31:56 -0500 |
commit | 4fdc7858ce3a480f983c3a12ff0a0627533e3c93 (patch) | |
tree | b4a609a2c992e81a72051524d832eacda952967d /src | |
parent | b4c6da5d3ca2629e15f41f5407fe120c3b919f2d (diff) | |
download | DulkirMod-Fabric-4fdc7858ce3a480f983c3a12ff0a0627533e3c93.tar.gz DulkirMod-Fabric-4fdc7858ce3a480f983c3a12ff0a0627533e3c93.tar.bz2 DulkirMod-Fabric-4fdc7858ce3a480f983c3a12ff0a0627533e3c93.zip |
tiny optimization
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/features/filters/DamageNumbers.kt | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |