fix subLiterals unknown and the test
All checks were successful
/ test (push) Successful in 1m4s
/ deploy (push) Successful in 1m15s

two stupid bugs...
This commit is contained in:
kento2 2026-08-29 16:20:22 +02:00
parent 77ea59cc92
commit 546be9db36
6 changed files with 32 additions and 41 deletions

View file

@ -20,5 +20,4 @@ public class BukkitCommandContext<C extends CommandContext<C>> extends AbstractC
public Player player() {
return (Player) sender();
}
}

View file

@ -29,7 +29,7 @@ public class BukkitScrowCommand<C extends BukkitCommandContext<C>> extends Comma
commandHandler.invoke(
rootLiteral,
commandContextFactory.createContext(rootLiteral, commandSender),
Stream.of(args).filter(str -> !str.isEmpty())
Stream.of(args).filter(arg -> !arg.isEmpty())
);
return true;
}