From 903a07e4505243d12106a3b8fd3e2527a2ad2cd1 Mon Sep 17 00:00:00 2001 From: xiangxiangxiong9 <1296976552@qq.com> Date: Mon, 22 Apr 2024 21:24:13 +0800 Subject: [PATCH] Fix #390 --- .../me/arasple/mc/trchat/module/display/channel/Channel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/runtime-bukkit/src/main/kotlin/me/arasple/mc/trchat/module/display/channel/Channel.kt b/project/runtime-bukkit/src/main/kotlin/me/arasple/mc/trchat/module/display/channel/Channel.kt index 3a0771b5..79b0896a 100644 --- a/project/runtime-bukkit/src/main/kotlin/me/arasple/mc/trchat/module/display/channel/Channel.kt +++ b/project/runtime-bukkit/src/main/kotlin/me/arasple/mc/trchat/module/display/channel/Channel.kt @@ -65,7 +65,7 @@ open class Channel( ) { execute { sender, _, _ -> if (sender.session.channel == this@Channel.id) { - quit(sender) + quit(sender, setDefault = true) } else { join(sender, this@Channel) }