diff options
author | Ronald Inglett <71849533+inglettronald@users.noreply.github.com> | 2023-11-14 15:12:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 15:12:38 -0600 |
commit | 9a84fb687a8788794a7813c3d0cf895bac111888 (patch) | |
tree | 0e787ec9d11e647cc43574de5dcae558ecf0c130 /src | |
parent | 0516a4be0c93d6a82dc23ba074a5ee6c6b8c181f (diff) | |
parent | 44776af1efdc2aa3237b960a79f86c6bf185ee20 (diff) | |
download | DulkirMod-Fabric-9a84fb687a8788794a7813c3d0cf895bac111888.tar.gz DulkirMod-Fabric-9a84fb687a8788794a7813c3d0cf895bac111888.tar.bz2 DulkirMod-Fabric-9a84fb687a8788794a7813c3d0cf895bac111888.zip |
Merge pull request #8 from SteptimusHeap/master
Update DamageNumbers.kt
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/features/filters/DamageNumbers.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/features/filters/DamageNumbers.kt b/src/main/kotlin/com/dulkirfabric/features/filters/DamageNumbers.kt index 68b16cf..c43c770 100644 --- a/src/main/kotlin/com/dulkirfabric/features/filters/DamageNumbers.kt +++ b/src/main/kotlin/com/dulkirfabric/features/filters/DamageNumbers.kt @@ -10,7 +10,7 @@ import net.minecraft.text.Text object DamageNumbers { private val nonCritFormat = """^(\d{1,3}(,\d{3})*|\d+)$""".toRegex() - private val trimPattern = "[✧,]".toRegex() + private val trimPattern = "[✧,❤]".toRegex() private val critColorList = listOf( "§e", "§f", "§c", "§6" ) @@ -76,4 +76,4 @@ object DamageNumbers { } return sb.toString() } -}
\ No newline at end of file +} |