Skip to content

Commit

Permalink
Bug/Compatibility update
Browse files Browse the repository at this point in the history
- Merges #41 to resolve #38 (thanks to @joc256)
- HearthstoneDeckTracker.exe v1.38.1.6963
  • Loading branch information
batstyx committed Jan 5, 2025
2 parents 6fd0d0e + 62ee82f commit d7f6189
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions Graveyard/Graveyard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,9 @@ public void Update()

private IEnumerable<Card> _PlayerCardList = null;
private IEnumerable<Card> PlayerCardList => _PlayerCardList ?? (_PlayerCardList = Core.Game.Player.PlayerCardList.Concat(PlayerETCBand));
private IEnumerable<Card> PlayerETCBand => Core.Game.Player.PlayerSideboardsDict
.Where(s => s.OwnerCardId == Neutral.ETCBandManager)
.FirstOrDefault()
.Cards;
private IEnumerable<Card> PlayerETCBand => Core.Game.Player.PlayerSideboardsDict?
.Where(s => s.OwnerCardId == Neutral.ETCBandManager)
.FirstOrDefault()?.Cards ?? Enumerable.Empty<Card>();

/**
* Clear then recreate all Views.
Expand Down Expand Up @@ -259,4 +258,4 @@ private bool ShowView(Panel parent, ViewBase view)
return true;
}
}
}
}
4 changes: 2 additions & 2 deletions Graveyard/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.16.0.0")]
[assembly: AssemblyFileVersion("1.16.0.0")]
[assembly: AssemblyVersion("1.17.0.0")]
[assembly: AssemblyFileVersion("1.17.0.0")]
Binary file modified lib/HearthstoneDeckTracker.exe
Binary file not shown.

0 comments on commit d7f6189

Please sign in to comment.