Skip to content

Commit 05245df

Browse files
committed
fix get hero arrival time
1 parent bab9852 commit 05245df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TbsCore/Parsers/HeroParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public static List<HeroItem> GetHeroInventory(HtmlDocument htmlDoc)
128128
/// <returns>TimeSpan after how much time hero arrival will happen</returns>
129129
public static TimeSpan GetHeroArrivalInfo(HtmlDocument html)
130130
{
131-
var statusMsg = html.DocumentNode.Descendants("div").FirstOrDefault(x => x.HasClass("heroStatusMessage"));
131+
var statusMsg = html.DocumentNode.Descendants("div").FirstOrDefault(x => x.HasClass("heroState"));
132132
if (statusMsg == null) return new TimeSpan(-1, 0, 0); // -1 hour
133133

134134
return TimeParser.ParseTimer(statusMsg);

0 commit comments

Comments
 (0)