Correct wrong stats raking

This commit is contained in:
Sebastien 2018-12-14 19:32:02 +02:00
parent ae83001360
commit f6e556078c

View File

@ -168,7 +168,7 @@ public class UserStatsUtils {
}
ranked.add(temp);
}
ranked.sort((guildStats, t1) -> (int) (guildStats.total - t1.total));
ranked.sort((guildStats, t1) -> (int) (t1.total - guildStats.total));
return new GuildStatsPack(ranked.indexOf(selfGuildStats) + 1 , selfGuildStats, ranked);