diff --git a/platforms/velocity/src/main/java/us/ajg0702/queue/platforms/velocity/VelocityQueue.java b/platforms/velocity/src/main/java/us/ajg0702/queue/platforms/velocity/VelocityQueue.java index 9f6ce7d..55717c6 100644 --- a/platforms/velocity/src/main/java/us/ajg0702/queue/platforms/velocity/VelocityQueue.java +++ b/platforms/velocity/src/main/java/us/ajg0702/queue/platforms/velocity/VelocityQueue.java @@ -71,6 +71,9 @@ public class VelocityQueue implements Implementation { @Subscribe public void onProxyInit(ProxyInitializeEvent e) { + + commandManager = proxyServer.getCommandManager(); + main = new QueueMain( this, logger, @@ -85,8 +88,6 @@ public class VelocityQueue implements Implementation { new ManageCommand(main) ); - commandManager = proxyServer.getCommandManager(); - proxyServer.getChannelRegistrar().register(MinecraftChannelIdentifier.create("ajqueue", "tospigot")); proxyServer.getChannelRegistrar().register(MinecraftChannelIdentifier.from("ajqueue:toproxy"));