diff options
author | Abhiram555 <63419731+abhithedev200@users.noreply.github.com> | 2023-01-26 21:34:15 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-26 17:04:15 +0100 |
commit | 19f6d6eacf3df61c3079d342482df3ae4a2c3e15 (patch) | |
tree | 30c8c309e46ecfc9d96d505322523178a53c1549 /src/main/java/de/torui/coflsky/utils | |
parent | 7cfe4c326b668683cccc9c250d58b7ef9c3e9083 (diff) | |
download | COFL-19f6d6eacf3df61c3079d342482df3ae4a2c3e15.tar.gz COFL-19f6d6eacf3df61c3079d342482df3ae4a2c3e15.tar.bz2 COFL-19f6d6eacf3df61c3079d342482df3ae4a2c3e15.zip |
Add Proxy support to the cofl mod (#85)
* Implement basic proxy functionality
* Finish the api key management
* Finished the hypixel api key support
* Fixed a check, for some reason intelij didn't update my code
* Only upload request if the upload is enabled, else just do the request
Co-authored-by: Äkwav <16632490+Ekwav@users.noreply.github.com>
Co-authored-by: Äkwav <16632490+Ekwav@users.noreply.github.com>
Diffstat (limited to 'src/main/java/de/torui/coflsky/utils')
-rw-r--r-- | src/main/java/de/torui/coflsky/utils/ChatUtils.java | 10 |
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.", ""); + } + + +} |