Skip to content

Commit

Permalink
feat: only join and don't leave the current one
Browse files Browse the repository at this point in the history
Closes #52
  • Loading branch information
burdoto authored and Yann151924 committed Mar 24, 2024
1 parent b51ad76 commit 0144ff4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public AbstractAurionChat getPlugin(){

private void join(AurionChatPlayer aurionChatPlayer, String channel) throws ChannelNotFoundException {
this.checkChannelExist(channel);
aurionChatPlayer.removeChannel(aurionChatPlayer.getCurrentChannel());
aurionChatPlayer.setCurrentChannel(channel);
aurionChatPlayer.sendMessage(text("You have joined the " + channel + " channel.").color(GOLD));
}
Expand Down

0 comments on commit 0144ff4

Please sign in to comment.