From b5cf6a2201d8fae6d5132bf3e10fb27fe541fa56 Mon Sep 17 00:00:00 2001 From: Jon Sagara Date: Mon, 24 Jul 2023 08:57:54 -0700 Subject: [PATCH] Fixed one of the branches in HairColorParser setting EyeColor instead of HairColor. --- IdParser/Parsers/Id/HairColorParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IdParser/Parsers/Id/HairColorParser.cs b/IdParser/Parsers/Id/HairColorParser.cs index 032dde3..acc857e 100644 --- a/IdParser/Parsers/Id/HairColorParser.cs +++ b/IdParser/Parsers/Id/HairColorParser.cs @@ -45,7 +45,7 @@ public override void ParseAndSet(string input) // West Virginia doesn't follow the abbreviation scheme for brown else if (input.EqualsIgnoreCase("BN")) { - IdCard.EyeColor = EyeColor.Brown; + IdCard.HairColor = HairColor.Brown; } else if (input.EqualsIgnoreCase(HairColor.Gray.GetAbbreviation())) {