diff --git a/api/src/main/java/com/imaginarycode/minecraft/redisbungee/AbstractRedisBungeeAPI.java b/api/src/main/java/com/imaginarycode/minecraft/redisbungee/AbstractRedisBungeeAPI.java index d1e6f13..1b5debe 100644 --- a/api/src/main/java/com/imaginarycode/minecraft/redisbungee/AbstractRedisBungeeAPI.java +++ b/api/src/main/java/com/imaginarycode/minecraft/redisbungee/AbstractRedisBungeeAPI.java @@ -337,4 +337,22 @@ public abstract class AbstractRedisBungeeAPI { public static AbstractRedisBungeeAPI getAbstractRedisBungeeAPI() { return abstractRedisBungeeAPI; } + + @Deprecated(forRemoval = true) + public void registerPubSubChannels(String... channels) { + } + + /** + * Warning: this is Legacy API to maintain backward compatibility with RedisBungee Pre fork 0.5 + *
+ * Unregister (a) PubSub channel(s). + * + * @param channels the channels to unregister + * @since 0.3 + * @deprecated No longer required + */ + @Deprecated(forRemoval = true) + public void unregisterPubSubChannels(String... channels) { + } + } diff --git a/proxies/bungeecord/bungeecord-api/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungeeAPI.java b/proxies/bungeecord/bungeecord-api/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungeeAPI.java index 6fe8456..c547fae 100644 --- a/proxies/bungeecord/bungeecord-api/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungeeAPI.java +++ b/proxies/bungeecord/bungeecord-api/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungeeAPI.java @@ -135,6 +135,7 @@ public class RedisBungeeAPI extends AbstractRedisBungeeAPI { * @since 0.3 * @deprecated No longer required */ + @Deprecated public final void unregisterPubSubChannels(String... channels) { }