mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-23 04:28:01 +00:00
whoops
This commit is contained in:
parent
821a41c1a9
commit
c753bfa983
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user