diff --git a/src/main/java/net/zsoo/mythic/mythicweb/crawler/CrawlerCommonService.java b/src/main/java/net/zsoo/mythic/mythicweb/crawler/CrawlerCommonService.java index 113bda7..861cad3 100644 --- a/src/main/java/net/zsoo/mythic/mythicweb/crawler/CrawlerCommonService.java +++ b/src/main/java/net/zsoo/mythic/mythicweb/crawler/CrawlerCommonService.java @@ -197,12 +197,12 @@ public void saveRun(int season, int period, BestRun run) { var recordChanged = false; if (dbPlayers.size() > record.getPlayers().size()) { updatedProperties.put("member count", - String.format("%d -> %d", record.getPlayers().size(), dbPlayers.size())); + String.format("%d -> %d", dbPlayers.size(), record.getPlayers().size())); recordChanged |= dbPlayers.size() > record.getPlayers().size(); } if (dbRecord.getMythicRating() < record.getMythicRating()) { updatedProperties.put("mythic rating", - String.format("%f -> %f", record.getMythicRating(), dbRecord.getMythicRating())); + String.format("%f -> %f", dbRecord.getMythicRating(), record.getMythicRating())); recordChanged |= dbRecord.getMythicRating() < record.getMythicRating(); } else { record.setMythicRating(dbRecord.getMythicRating());