fix no args detected as 1 arg

This commit is contained in:
ajgeiss0702
2021-12-25 19:30:45 -07:00
parent 4682b05059
commit 3573c34bc6
2 changed files with 8 additions and 1 deletions
@@ -15,6 +15,9 @@ public class BungeeCommand extends Command implements TabExecutor {
@Override
public void execute(CommandSender sender, String[] args) {
if(args.length == 1 && args[0].isEmpty()) {
args = new String[]{};
}
command.execute(new BungeeSender(sender), args);
}