aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/torui/coflsky/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/torui/coflsky/utils')
-rw-r--r--src/main/java/de/torui/coflsky/utils/ChatUtils.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/de/torui/coflsky/utils/ChatUtils.java b/src/main/java/de/torui/coflsky/utils/ChatUtils.java
new file mode 100644
index 0000000..766fb2c
--- /dev/null
+++ b/src/main/java/de/torui/coflsky/utils/ChatUtils.java
@@ -0,0 +1,10 @@
+package de.torui.coflsky.utils;
+
+public class ChatUtils {
+
+ public static String cleanColour(String in) {
+ return in.replaceAll("(?i)\\u00A7.", "");
+ }
+
+
+}