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();
|
original = plugin.getPlayers();
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
original = plugin.getPlayersOnServer(type);
|
original = RedisBungee.getApi().getPlayersOnServer(type);
|
||||||
} catch (IllegalArgumentException ignored) {
|
} catch (IllegalArgumentException ignored) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -187,7 +187,7 @@ public class RedisBungeeListener implements Listener {
|
|||||||
} else {
|
} else {
|
||||||
out.writeUTF(type);
|
out.writeUTF(type);
|
||||||
try {
|
try {
|
||||||
out.writeInt(plugin.getPlayersOnServer(type).size());
|
out.writeInt(RedisBungee.getApi().getPlayersOnServer(type).size());
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
out.writeInt(0);
|
out.writeInt(0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user