mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-27 05:05:19 +01:00
Fixed dumb mistake
This commit is contained in:
parent
abd71f66c6
commit
c85dcfd8bc
@ -195,7 +195,7 @@ public class LobbyBalancer extends Plugin {
|
||||
public static int getPlayerCount(ServerInfo server) {
|
||||
if (ConfigEntries.REDIS_BUNGEE_ENABLED.get()) {
|
||||
try {
|
||||
RedisBungee.getApi().getPlayersOnServer(server.getName()).size();
|
||||
return RedisBungee.getApi().getPlayersOnServer(server.getName()).size();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user