get rid of command handler parameter
This commit is contained in:
parent
aa0f9216e8
commit
5fd408e69e
2 changed files with 2 additions and 2 deletions
2
defs.bzl
2
defs.bzl
|
|
@ -1,2 +1,2 @@
|
||||||
GROUP = "site.lab0x13.scrow"
|
GROUP = "site.lab0x13.scrow"
|
||||||
VERSION = "1.2.1"
|
VERSION = "1.2.0"
|
||||||
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue