diff --git a/API/src/main/java/cc/fascinated/model/leaderboard/Leaderboard.java b/API/src/main/java/cc/fascinated/model/leaderboard/Leaderboard.java index 505ed26..47c6a65 100644 --- a/API/src/main/java/cc/fascinated/model/leaderboard/Leaderboard.java +++ b/API/src/main/java/cc/fascinated/model/leaderboard/Leaderboard.java @@ -41,11 +41,6 @@ public class Leaderboard { */ private String levelAuthorName; - /** - * The difficulty of the song. - */ - private Difficulty difficulty; - /** * The star rating for this leaderboard. */ @@ -55,6 +50,11 @@ public class Leaderboard { */ private String coverImage; + /** + * The difficulty of the song. + */ + private Difficulty difficulty; + /** * Constructs a new {@link Leaderboard} object * from a {@link ScoreSaberLeaderboardToken} object. @@ -70,12 +70,12 @@ public class Leaderboard { token.getSongSubName(), token.getSongAuthorName(), token.getLevelAuthorName(), + token.getStars(), + token.getCoverImage(), new Difficulty( ScoreSaberUtils.parseDifficulty(token.getDifficulty().getDifficulty()), token.getDifficulty().getDifficultyRaw() - ), - token.getStars(), - token.getCoverImage() + ) ); } }