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){