Skip to content

Commit

Permalink
Do not stop receiving channels when changing current channel
Browse files Browse the repository at this point in the history
Otherwise, users must use `/ch spy` every time they joined another channel
  • Loading branch information
burdoto committed Mar 24, 2024
1 parent b51ad76 commit 49ec42d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 49ec42d

Please sign in to comment.