get rid of command handler parameter
This commit is contained in:
parent
aa0f9216e8
commit
5fd408e69e
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ public class ScrowCommands<C extends VelocityCommandContext<C>> implements IScro
|
|||
public ScrowCommands(ProxyServer server, CommandContextFactory<C> commandContextFactory) {
|
||||
this.server = server;
|
||||
this.commandContextFactory = commandContextFactory;
|
||||
this.commandHandler = new CommandHandler<>(new VelocityPlatform<>());
|
||||
this.commandHandler = new CommandHandler<C>(new VelocityPlatform<>());
|
||||
}
|
||||
|
||||
public void register(RootLiteral<C> rootNode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue