diff --git a/nms/nms-legacy/src/main/java/us/ajg0702/leaderboards/nms/legacy/HeadUtils.java b/nms/nms-legacy/src/main/java/us/ajg0702/leaderboards/nms/legacy/HeadUtils.java index b341187..f837cf5 100644 --- a/nms/nms-legacy/src/main/java/us/ajg0702/leaderboards/nms/legacy/HeadUtils.java +++ b/nms/nms-legacy/src/main/java/us/ajg0702/leaderboards/nms/legacy/HeadUtils.java @@ -180,7 +180,8 @@ private String getURLContent(String urlStr) { logger.info("Null body with " + response.code()); }*/ // System.out.println("Unsuccessful for " + urlStr + ": " + response.code()); - lastFail.put(urlStr, System.currentTimeMillis() + random.nextInt(-2_000, 2_000)); + + lastFail.put(urlStr, System.currentTimeMillis() + (random.nextInt(4_000)-2_000)); return urlCache.getOrDefault(urlStr, ""); } String r = body.string();