mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-22 20:28:00 +00:00
Fix PlayerList not returning server name when it is not ALL (#62)
This commit is contained in:
parent
20f9143ea5
commit
0534970368
@ -156,6 +156,7 @@ public class RedisBungeeBungeeListener extends AbstractRedisBungeeListener<Login
|
|||||||
out.writeUTF("ALL");
|
out.writeUTF("ALL");
|
||||||
original = plugin.getPlayers();
|
original = plugin.getPlayers();
|
||||||
} else {
|
} else {
|
||||||
|
out.writeUTF(type);
|
||||||
try {
|
try {
|
||||||
original = plugin.getAbstractRedisBungeeApi().getPlayersOnServer(type);
|
original = plugin.getAbstractRedisBungeeApi().getPlayersOnServer(type);
|
||||||
} catch (IllegalArgumentException ignored) {
|
} catch (IllegalArgumentException ignored) {
|
||||||
|
@ -165,6 +165,7 @@ public class RedisBungeeVelocityListener extends AbstractRedisBungeeListener<Log
|
|||||||
out.writeUTF("ALL");
|
out.writeUTF("ALL");
|
||||||
original = plugin.getPlayers();
|
original = plugin.getPlayers();
|
||||||
} else {
|
} else {
|
||||||
|
out.writeUTF(type);
|
||||||
try {
|
try {
|
||||||
original = plugin.getAbstractRedisBungeeApi().getPlayersOnServer(type);
|
original = plugin.getAbstractRedisBungeeApi().getPlayersOnServer(type);
|
||||||
} catch (IllegalArgumentException ignored) {
|
} catch (IllegalArgumentException ignored) {
|
||||||
|
Loading…
Reference in New Issue
Block a user