mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-20 15:57:49 +01:00
Update RedisBungee listener for 1.13+
This commit is contained in:
parent
04d8cf0c92
commit
c0774150d2
@ -49,7 +49,8 @@ public class BungeeChannel implements PluginMessageListener {
|
||||
Bukkit.getMessenger().registerIncomingPluginChannel(plugin, "BungeeCord", this);
|
||||
|
||||
if (NMSVersion.isGreaterEqualThan(NMSVersion.v1_13_R1)) {
|
||||
// TODO implement when RedisBungee will be updated
|
||||
Bukkit.getMessenger().registerOutgoingPluginChannel(plugin, "legacy:redisbungee");
|
||||
Bukkit.getMessenger().registerIncomingPluginChannel(plugin, "legacy:redisbungee", this);
|
||||
} else {
|
||||
Bukkit.getMessenger().registerOutgoingPluginChannel(plugin, "RedisBungee");
|
||||
Bukkit.getMessenger().registerIncomingPluginChannel(plugin, "RedisBungee", this);
|
||||
|
Loading…
Reference in New Issue
Block a user