diff --git a/HearthDb/Deckstrings/Deck.cs b/HearthDb/Deckstrings/Deck.cs index c33207c0..48acb406 100644 --- a/HearthDb/Deckstrings/Deck.cs +++ b/HearthDb/Deckstrings/Deck.cs @@ -46,7 +46,7 @@ public class Deck /// /// Gets the card object for the given HeroDbfId /// - public Card GetHero() => Cards.GetFromDbfId(HeroDbfId, false); + public Card GetHero() => Cards.GetFromDbfId(HeroDbfId, collectibe: false); /// /// Converts (DbfId, Count) dictionary to (CardObject, Count). @@ -64,7 +64,7 @@ public Dictionary> GetSideboards() => Sideboards Owner = Cards.GetFromDbfId(x.Key), Sideboard = x.Value.Select(s => new { - Card = Cards.GetFromDbfId(s.Key), + Card = Cards.GetFromDbfId(s.Key, collectibe: false), Count = s.Value }).Where(s => s.Card != null).ToDictionary(x => x.Card, x => x.Count) })