Skip to content

Commit 706e4bd

Browse files
committed
fix: typo
1 parent 207c327 commit 706e4bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

HearthDb/Cards.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ static Cards()
5959
public static Card GetFromName(string name, Locale lang, bool collectible = true)
6060
=> (collectible ? Collectible : All).Values.FirstOrDefault(x => x.GetLocName(lang)?.Equals(name, StringComparison.InvariantCultureIgnoreCase) ?? false);
6161

62-
public static Card GetFromDbfId(int dbfId, bool collectibe = true)
63-
=> (collectibe ? CollectibleByDbfId : AllByDbfId).TryGetValue(dbfId, out var card) ? card : null;
62+
public static Card GetFromDbfId(int dbfId, bool collectible = true)
63+
=> (collectible ? CollectibleByDbfId : AllByDbfId).TryGetValue(dbfId, out var card) ? card : null;
6464

6565
private static bool IsDeflectOBot(Entity entity) => entity.CardId == CardIds.NonCollectible.Neutral.DeflectOBot || entity.CardId == CardIds.NonCollectible.Neutral.DeflectOBotTavernBrawl;
6666
}

0 commit comments

Comments
 (0)