mirror of
https://github.com/GeyserExtensionists/GeyserUtils.git
synced 2025-12-19 15:09:24 +00:00
register channel
This commit is contained in:
@@ -69,11 +69,5 @@
|
||||
<version>1.20-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>me.zimzaza4</groupId>
|
||||
<artifactId>geyserutils-common</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package me.zimzaza4.geyserutils.bungee;
|
||||
|
||||
import me.zimzaza4.geyserutils.common.channel.GeyserUtilsChannels;
|
||||
import net.md_5.bungee.api.ProxyServer;
|
||||
import net.md_5.bungee.api.plugin.Plugin;
|
||||
|
||||
@@ -9,7 +8,7 @@ public final class GeyserUtils extends Plugin {
|
||||
@Override
|
||||
public void onEnable() {
|
||||
ProxyServer.getInstance()
|
||||
.registerChannel(GeyserUtilsChannels.MAIN);
|
||||
.registerChannel("geyserutils:main");
|
||||
// Plugin startup logic
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user