From 49ec42d4c2be6d5952402deb817d9b966d5d56c4 Mon Sep 17 00:00:00 2001 From: "Tobias Burdow [Kaleidox]" Date: Sun, 24 Mar 2024 11:43:42 +0100 Subject: [PATCH] Do not stop receiving channels when changing current channel Otherwise, users must use `/ch spy` every time they joined another channel --- .../mineaurion/aurionchat/common/command/ChatCommandCommon.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/mineaurion/aurionchat/common/command/ChatCommandCommon.java b/common/src/main/java/com/mineaurion/aurionchat/common/command/ChatCommandCommon.java index 0718fff..36ce744 100644 --- a/common/src/main/java/com/mineaurion/aurionchat/common/command/ChatCommandCommon.java +++ b/common/src/main/java/com/mineaurion/aurionchat/common/command/ChatCommandCommon.java @@ -35,7 +35,7 @@ public AbstractAurionChat getPlugin(){ private void join(AurionChatPlayer aurionChatPlayer, String channel) throws ChannelNotFoundException { this.checkChannelExist(channel); - aurionChatPlayer.removeChannel(aurionChatPlayer.getCurrentChannel()); + //aurionChatPlayer.removeChannel(aurionChatPlayer.getCurrentChannel()); aurionChatPlayer.setCurrentChannel(channel); aurionChatPlayer.sendMessage(text("You have joined the " + channel + " channel.").color(GOLD)); }