diff --git a/defs.bzl b/defs.bzl index db3e6e3..d0f082e 100644 --- a/defs.bzl +++ b/defs.bzl @@ -1,2 +1,2 @@ GROUP = "site.lab0x13.scrow" -VERSION = "1.1.1" \ No newline at end of file +VERSION = "1.2.1" \ No newline at end of file diff --git a/velocity/site/lab0x13/scrow/commands/velocity/ScrowCommands.java b/velocity/site/lab0x13/scrow/commands/velocity/ScrowCommands.java index f18437b..067bbbc 100644 --- a/velocity/site/lab0x13/scrow/commands/velocity/ScrowCommands.java +++ b/velocity/site/lab0x13/scrow/commands/velocity/ScrowCommands.java @@ -11,10 +11,10 @@ public class ScrowCommands> implements IScro private final CommandContextFactory commandContextFactory; private final CommandHandler commandHandler; - public ScrowCommands(ProxyServer server, CommandContextFactory commandContextFactory, CommandHandler commandHandler) { + public ScrowCommands(ProxyServer server, CommandContextFactory commandContextFactory) { this.server = server; this.commandContextFactory = commandContextFactory; - this.commandHandler = commandHandler; + this.commandHandler = new CommandHandler<>(new VelocityPlatform<>()); } public void register(RootLiteral rootNode) {