From bef30e98cf9f3697ac6fefbd82f4cb160edaad46 Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Fri, 20 Jan 2023 10:39:21 -0500 Subject: betterchat compat --- src/main/kotlin/cc/woverflow/chatting/Chatting.kt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main/kotlin/cc/woverflow/chatting/Chatting.kt') diff --git a/src/main/kotlin/cc/woverflow/chatting/Chatting.kt b/src/main/kotlin/cc/woverflow/chatting/Chatting.kt index 85204d8..2faa234 100644 --- a/src/main/kotlin/cc/woverflow/chatting/Chatting.kt +++ b/src/main/kotlin/cc/woverflow/chatting/Chatting.kt @@ -113,6 +113,13 @@ object Chatting { } } } + if (isBetterChat) { + Notifications.INSTANCE.send( + NAME, + "BetterChat can be removed as it is replaced by Chatting. Click here to open your mods folder to delete the BetterChat file.", Runnable { + UDesktop.open(File("./mods")) + }) + } } } -- cgit