diff options
author | ingle <inglettronald@gmail.com> | 2022-09-24 14:57:07 -0500 |
---|---|---|
committer | ingle <inglettronald@gmail.com> | 2022-09-24 14:57:07 -0500 |
commit | cce0c0c05e1f73902e474d9a63f6b1f302cd5176 (patch) | |
tree | 2a46288933f3a8c2a181d97e4ca157e1d04ece21 /src/main/kotlin/dulkirmod/utils | |
parent | 442926d9bcea191ac4f852d3d0770288c2a5bca7 (diff) | |
download | DulkirMod-cce0c0c05e1f73902e474d9a63f6b1f302cd5176.tar.gz DulkirMod-cce0c0c05e1f73902e474d9a63f6b1f302cd5176.tar.bz2 DulkirMod-cce0c0c05e1f73902e474d9a63f6b1f302cd5176.zip |
Imported customAnimations courtesy of Aton.
Also add Nametag Cleaner.
Diffstat (limited to 'src/main/kotlin/dulkirmod/utils')
-rw-r--r-- | src/main/kotlin/dulkirmod/utils/Utils.kt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/kotlin/dulkirmod/utils/Utils.kt b/src/main/kotlin/dulkirmod/utils/Utils.kt new file mode 100644 index 0000000..766a78b --- /dev/null +++ b/src/main/kotlin/dulkirmod/utils/Utils.kt @@ -0,0 +1,7 @@ +package dulkirmod.utils + +object Utils { + fun stripColorCodes(string: String): String { + return string.replace("ยง.".toRegex(), "") + } +}
\ No newline at end of file |