Java Command Dispatch Framework - (Bukkit, Spigot, Paper, Sponge, Bungee, JDA, Velocity supported, generically usable anywhere)
I'm currently working on a plugin that has a team feature, it's been working fine but for some reason my team chat command spits out errors on 1.21.4 (the version this plugin is for) When I do "/tc d" it works correctly and sends this message to all the team members:  But when I do "/tc d d" it spits out this.  I'm not sure if it's something I'm doing wrong but this does work on previous versions like 1.8 Here's the code for the command: ``` @Subcommand("chat|c") @CommandAlias("tc") public void onChatCommand(Player sender, String message){ Team playerTeam = TeamManager.getTeamByPlayer(sender); if(playerTeam == null) { sender.sendMessage(ChatColor.RED + "You are not in a team."); return; } if(message == null || message.isEmpty()) { sender.sendMessage(ChatColor.RED + "You must send a message."); return; } playerTeam.sendMessageToMembers(sender, message); } ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by KaboomB52 and has received 1 comments.