get rid of command handler parameter
All checks were successful
/ test (push) Successful in 56s
/ deploy (push) Successful in 1m2s

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

View file

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

View file

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