From a800bb8249ecdebde110ed9b2f8e2cc9e9ab1e07 Mon Sep 17 00:00:00 2001 From: jiahuiwen Date: Wed, 22 Dec 2021 10:44:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=89=E9=86=92=E5=B0=86=E8=BF=94=E8=BF=98?= =?UTF-8?q?=E9=81=93=E5=85=B7bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ljsd/jieling/handler/GetPlayerInfoHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serverlogic/src/main/java/com/ljsd/jieling/handler/GetPlayerInfoHandler.java b/serverlogic/src/main/java/com/ljsd/jieling/handler/GetPlayerInfoHandler.java index c2e7def40..2f2f37c34 100644 --- a/serverlogic/src/main/java/com/ljsd/jieling/handler/GetPlayerInfoHandler.java +++ b/serverlogic/src/main/java/com/ljsd/jieling/handler/GetPlayerInfoHandler.java @@ -209,7 +209,7 @@ public class GetPlayerInfoHandler extends BaseHandler{ hasHeroMap.put(10, 1); } } else if (value.getStar() == 11) { - if (hasHeroMap.containsKey(1)) { + if (hasHeroMap.containsKey(11)) { hasHeroMap.put(11, hasHeroMap.get(11) + 1); } else { hasHeroMap.put(11, 1);