diff --git a/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java b/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java index 1d3c4e6..4c66a1b 100644 --- a/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java +++ b/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java @@ -262,7 +262,7 @@ public final class RedisBungee extends Plugin implements Listener { } }, 1, 5, TimeUnit.MINUTES); } - ProxyServer.getInstance().registerChannel("RedisBungee"); + getProxy().registerChannel("RedisBungee"); } @Override