Fixed dumb mistake

This commit is contained in:
Jaime Martinez Rincon 2017-01-21 11:31:20 +01:00
parent abd71f66c6
commit c85dcfd8bc

View File

@ -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();
}