From cd818f0966320f77729b8d7b84595447425152b9 Mon Sep 17 00:00:00 2001 From: luying Date: Fri, 21 Oct 2022 16:32:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E8=A3=85=E5=A4=87):=20?= =?UTF-8?q?=E5=90=88=E6=88=90=E8=A3=85=E5=A4=87=E4=BD=BF=E7=94=A8=E8=81=8C?= =?UTF-8?q?=E4=B8=9A=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/role/handler/equipHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/servers/role/handler/equipHandler.ts b/game-server/app/servers/role/handler/equipHandler.ts index 7d5d01714..b4f493b10 100644 --- a/game-server/app/servers/role/handler/equipHandler.ts +++ b/game-server/app/servers/role/handler/equipHandler.ts @@ -43,7 +43,7 @@ export class EquipHandler { let curEquip = oldEplace.find(equip => equip.id == ePlaceId ); if(curEquip) return resResult(STATUS.EQUIP_HAS_COMPOSE); - let dicHero = gameData.hero.get(hid); + let dicHero = gameData.hero.get(hero.skinId); let dicEquip = getEquipByJobClassAndEPlace(dicHero?.jobClass, ePlaceId); if(!dicEquip) return resResult(STATUS.DIC_DATA_NOT_FOUND);