2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-12-23 10:38:01 +00:00
This commit is contained in:
Tux 2016-06-25 08:39:55 -04:00
parent 821a41c1a9
commit c753bfa983

View File

@ -169,7 +169,7 @@ public class RedisBungeeListener implements Listener {
original = plugin.getPlayers();
} else {
try {
original = plugin.getPlayersOnServer(type);
original = RedisBungee.getApi().getPlayersOnServer(type);
} catch (IllegalArgumentException ignored) {
}
}
@ -187,7 +187,7 @@ public class RedisBungeeListener implements Listener {
} else {
out.writeUTF(type);
try {
out.writeInt(plugin.getPlayersOnServer(type).size());
out.writeInt(RedisBungee.getApi().getPlayersOnServer(type).size());
} catch (IllegalArgumentException e) {
out.writeInt(0);
}