get rid of command handler parameter
Some checks failed
/ test (push) Failing after 48s
/ deploy (push) Has been skipped

This commit is contained in:
kento2 2026-08-29 02:42:25 +02:00
parent 613ea016f1
commit aa0f9216e8
2 changed files with 3 additions and 3 deletions

View file

@ -1,2 +1,2 @@
GROUP = "site.lab0x13.scrow"
VERSION = "1.1.1"
VERSION = "1.2.1"

View file

@ -11,10 +11,10 @@ public class ScrowCommands<C extends VelocityCommandContext<C>> implements IScro
private final CommandContextFactory<C> commandContextFactory;
private final CommandHandler<C> commandHandler;
public ScrowCommands(ProxyServer server, CommandContextFactory<C> commandContextFactory, CommandHandler<C> commandHandler) {
public ScrowCommands(ProxyServer server, CommandContextFactory<C> commandContextFactory) {
this.server = server;
this.commandContextFactory = commandContextFactory;
this.commandHandler = commandHandler;
this.commandHandler = new CommandHandler<>(new VelocityPlatform<>());
}
public void register(RootLiteral<C> rootNode) {