2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-12-23 02:28:01 +00:00
somehow pull request #39 forgotten to add thrid Legacy channel
This commit is contained in:
mohammed jasem alaajel 2022-07-22 23:52:15 +04:00
parent dea384a203
commit 9ceccb6dd2

View File

@ -83,7 +83,9 @@ public class RedisBungeeVelocityPlugin implements RedisBungeePlugin<Player> {
private static final Object SERVER_TO_PLAYERS_KEY = new Object();
public static final List<ChannelIdentifier> IDENTIFIERS = List.of(
MinecraftChannelIdentifier.create("legacy", "redisbungee"),
new LegacyChannelIdentifier("RedisBungee")
new LegacyChannelIdentifier("RedisBungee"),
// This is needed for clients before 1.13
new LegacyChannelIdentifier("legacy:redisbungee")
);
private final Cache<Object, Multimap<String, UUID>> serverToPlayersCache = CacheBuilder.newBuilder()
.expireAfterWrite(5, TimeUnit.SECONDS)