diff --git a/src/main/java/net/frozenorb/apiv3/model/Server.java b/src/main/java/net/frozenorb/apiv3/model/Server.java index b494236..aa601a1 100644 --- a/src/main/java/net/frozenorb/apiv3/model/Server.java +++ b/src/main/java/net/frozenorb/apiv3/model/Server.java @@ -69,8 +69,8 @@ public final class Server { for (Server server : serverCache) { int lastUpdatedAgo = TimeUtils.getSecondsBetween(server.getLastUpdatedAt(), Instant.now()); - if (lastUpdatedAgo < 60 || lastUpdatedAgo > 30 * 5) { - return; + if (lastUpdatedAgo < 60 || server.getPlayers().isEmpty()) { + continue; } for (UUID online : server.getPlayers()) {