From b84e89dff03cc4f9dc0835f8a33a059460c428eb Mon Sep 17 00:00:00 2001 From: luying Date: Thu, 6 Apr 2023 19:50:46 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E5=A5=BD=E5=8F=8B):=20?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E5=85=B6=E4=BB=96=E4=BA=BA=E5=AE=9D=E7=89=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/role/handler/friendHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/servers/role/handler/friendHandler.ts b/game-server/app/servers/role/handler/friendHandler.ts index f42bc58c5..c56a87a70 100644 --- a/game-server/app/servers/role/handler/friendHandler.ts +++ b/game-server/app/servers/role/handler/friendHandler.ts @@ -757,7 +757,7 @@ export class FriendHandler { let heroParam = new HeroDetailParam(hero); heroParam.setAttributes(attributes); heroParam.setJewels(jewels); - if(hero.artifact > 0) { + if(hero.artifact) { let artifact = await ArtifactModel.findbySeqId(hisRoleId, hero.artifact); if(artifact) heroParam.setArtifact(artifact); }