🐞 fix(好友): 查看其他人宝物
This commit is contained in:
@@ -757,7 +757,7 @@ export class FriendHandler {
|
|||||||
let heroParam = new HeroDetailParam(hero);
|
let heroParam = new HeroDetailParam(hero);
|
||||||
heroParam.setAttributes(attributes);
|
heroParam.setAttributes(attributes);
|
||||||
heroParam.setJewels(jewels);
|
heroParam.setJewels(jewels);
|
||||||
if(hero.artifact > 0) {
|
if(hero.artifact) {
|
||||||
let artifact = await ArtifactModel.findbySeqId(hisRoleId, hero.artifact);
|
let artifact = await ArtifactModel.findbySeqId(hisRoleId, hero.artifact);
|
||||||
if(artifact) heroParam.setArtifact(artifact);
|
if(artifact) heroParam.setArtifact(artifact);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user