use of eu.cloudnetservice.cloudnet.ext.labymod.velocity.listener.VelocityLabyModListener in project CloudNet-v3 by CloudNetService.
the class VelocityCloudNetLabyModPlugin method handleProxyInit.
@Subscribe
public void handleProxyInit(ProxyInitializeEvent event) {
ChannelIdentifier identifier = new LegacyChannelIdentifier(LabyModConstants.LMC_CHANNEL_NAME);
this.proxyServer.getChannelRegistrar().register(identifier);
this.labyModManagement = new VelocityLabyModManagement(this.proxyServer, identifier);
this.proxyServer.getEventManager().register(this, new VelocityLabyModListener(this.labyModManagement));
}
Aggregations