mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
Fix bug in ``ChallengeInstance``
Really a amazing bug. i thought author copy the second method from the first one then forgot to change
This commit is contained in:
@@ -201,7 +201,7 @@ public class ChallengeInstance
|
||||
{
|
||||
var avatar = Player.AvatarManager?.GetAvatar(lineupAvatar.BaseAvatarId);
|
||||
if (avatar == null) continue;
|
||||
proto.BossInfo.FirstLineup.Add((uint)avatar.GetAvatarId());
|
||||
proto.BossInfo.SecondLineup.Add((uint)avatar.GetAvatarId());
|
||||
var equip = Player.InventoryManager?.GetItem(0, avatar.GetCurPathInfo().EquipId,
|
||||
ItemMainTypeEnum.Equipment);
|
||||
if (equip != null)
|
||||
@@ -444,4 +444,4 @@ public class ChallengeInstance
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user