From f60464ffc6a9a09cde201b5a0b2770402cc7eaf5 Mon Sep 17 00:00:00 2001 From: yaohunya <31456652@qq.com> Date: Sun, 14 Jul 2024 22:34:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=85=E5=80=BC=E6=95=B0=E6=8D=AE=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yaohun/aurechargedata/manage/RechargeManage.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/yaohun/aurechargedata/manage/RechargeManage.java b/src/main/java/com/yaohun/aurechargedata/manage/RechargeManage.java index 04ad71f..6a1a886 100644 --- a/src/main/java/com/yaohun/aurechargedata/manage/RechargeManage.java +++ b/src/main/java/com/yaohun/aurechargedata/manage/RechargeManage.java @@ -153,11 +153,9 @@ public class RechargeManage { public String getMonthlyRankingName(int rank){ List playerNames = new ArrayList<>(monthRechargeTop.keySet()); if (rank <= playerNames.size()) { - String playerName = playerNames.get(rank - 1); - int monthlyRecharge = monthRechargeTop.get(playerName); - return playerName; + return playerNames.get(rank - 1); } else { - return "ERROR"; + return "暂无"; } } public int getMonthlyRankingValue(int rank){