diff --git a/src/main/java/cc/fascinated/platform/impl/ScoreSaberPlatform.java b/src/main/java/cc/fascinated/platform/impl/ScoreSaberPlatform.java index 7191145..9883812 100644 --- a/src/main/java/cc/fascinated/platform/impl/ScoreSaberPlatform.java +++ b/src/main/java/cc/fascinated/platform/impl/ScoreSaberPlatform.java @@ -218,6 +218,13 @@ public class ScoreSaberPlatform extends Platform { log.warn("Failed to update leaderboard '{}' for platform '{}'", id, this.getPlatform().getPlatformName()); continue; } + if (leaderboard.getStars() == 0) { // Check if the leaderboard is ranked + log.warn("Leaderboard '{}' for platform '{}' is not ranked, skipping updating the score pp values", + id, + this.getPlatform().getPlatformName() + ); + continue; + } List toUpdate = scores.stream().filter(score -> { if (!score.getLeaderboardId().equals(id)) { // Check if the leaderboard ID matches