From d00d98505d2190d8a52efbe92d67dd4c8fa85f17 Mon Sep 17 00:00:00 2001 From: syspro86 Date: Thu, 6 Jun 2024 01:53:13 +0000 Subject: [PATCH] =?UTF-8?q?=EB=A9=94=EC=8B=9C=EC=A7=80=20=EB=B0=A9?= =?UTF-8?q?=ED=96=A5=EC=98=A4=EB=A5=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zsoo/mythic/mythicweb/crawler/CrawlerCommonService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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());