fix commandmanager not being loaded before queuemain (velocity)
This commit is contained in:
+3
-2
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user