Format code

This commit is contained in:
2026-05-16 23:08:09 +02:00
parent 81dd8045f2
commit d110df924e
562 changed files with 11025 additions and 10059 deletions
@@ -84,7 +84,7 @@ public class SWCommand extends AbstractSWCommand<Chatter> {
@Override
public List<String> suggest(Invocation invocation) {
String[] args = invocation.arguments();
if(args.length == 0)
if (args.length == 0)
args = new String[]{""};
return SWCommand.this.tabComplete(Chatter.of(invocation.source()), invocation.alias(), args);
@@ -163,7 +163,8 @@ public class SWCommand extends AbstractSWCommand<Chatter> {
}
if (args.length == 0 || atomicInteger.get() == commandList.size()) {
commandList.forEach(subCommand -> {
if (subCommand.validator == null || subCommand.validator.validate(sender, sender, (s, args1) -> {})) {
if (subCommand.validator == null || subCommand.validator.validate(sender, sender, (s, args1) -> {
})) {
send(sender, subCommand);
}
});