🐞 fix(好友): 查看其他人宝物

This commit is contained in:
luying
2023-04-06 19:50:46 +08:00
parent 579ee7846f
commit b84e89dff0

View File

@@ -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);
}