2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-04-08 16:10:26 +00:00

Fix PlayerList not returning server name when it is not ALL (#62)

This commit is contained in:
冰砚炽
2023-01-31 16:40:06 +08:00
committed by GitHub
parent 20f9143ea5
commit 0534970368
2 changed files with 2 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ public class RedisBungeeVelocityListener extends AbstractRedisBungeeListener<Log
out.writeUTF("ALL");
original = plugin.getPlayers();
} else {
out.writeUTF(type);
try {
original = plugin.getAbstractRedisBungeeApi().getPlayersOnServer(type);
} catch (IllegalArgumentException ignored) {