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
|
@Subscribe
|
||||||
public void onProxyInit(ProxyInitializeEvent e) {
|
public void onProxyInit(ProxyInitializeEvent e) {
|
||||||
|
|
||||||
|
commandManager = proxyServer.getCommandManager();
|
||||||
|
|
||||||
main = new QueueMain(
|
main = new QueueMain(
|
||||||
this,
|
this,
|
||||||
logger,
|
logger,
|
||||||
@@ -85,8 +88,6 @@ public class VelocityQueue implements Implementation {
|
|||||||
new ManageCommand(main)
|
new ManageCommand(main)
|
||||||
);
|
);
|
||||||
|
|
||||||
commandManager = proxyServer.getCommandManager();
|
|
||||||
|
|
||||||
|
|
||||||
proxyServer.getChannelRegistrar().register(MinecraftChannelIdentifier.create("ajqueue", "tospigot"));
|
proxyServer.getChannelRegistrar().register(MinecraftChannelIdentifier.create("ajqueue", "tospigot"));
|
||||||
proxyServer.getChannelRegistrar().register(MinecraftChannelIdentifier.from("ajqueue:toproxy"));
|
proxyServer.getChannelRegistrar().register(MinecraftChannelIdentifier.from("ajqueue:toproxy"));
|
||||||
|
|||||||
Reference in New Issue
Block a user