Skip to content

Commit 32bdc28

Browse files
authored
Merge pull request #123 from Erol444/hotfix-17-06-2022
Hotfix 16 06 2022
2 parents 8f2889e + 866f448 commit 32bdc28

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

TbsCore/Tasks/Update/HeroUpdateInfo.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Threading.Tasks;
33
using TbsCore.Helpers;
44
using TbsCore.Models.AccModels;
5+
using TbsCore.Parsers;
56
using TbsCore.Tasks.Others;
67
using static TbsCore.Helpers.Classificator;
78

@@ -24,6 +25,11 @@ public override async Task<TaskRes> Execute(Account acc)
2425
if (!result) return TaskRes.Executed;
2526
}
2627

28+
{
29+
acc.Hero.Items = HeroParser.GetHeroInventory(acc.Wb.Html);
30+
acc.Hero.Equipt = HeroParser.GetHeroEquipment(acc.Wb.Html);
31+
}
32+
2733
if (acc.Hero.Settings.AutoRefreshInfo)
2834
{
2935
NextExecute = DateTime.Now.AddMinutes(

0 commit comments

Comments
 (0)