aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/utils
diff options
context:
space:
mode:
authoringle <inglettronald@gmail.com>2022-09-24 14:57:07 -0500
committeringle <inglettronald@gmail.com>2022-09-24 14:57:07 -0500
commitcce0c0c05e1f73902e474d9a63f6b1f302cd5176 (patch)
tree2a46288933f3a8c2a181d97e4ca157e1d04ece21 /src/main/kotlin/dulkirmod/utils
parent442926d9bcea191ac4f852d3d0770288c2a5bca7 (diff)
downloadDulkirMod-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.kt7
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