From 7c54b8542c09c265860dfc20b08f21f286ee00f9 Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Thu, 9 Jan 2025 04:34:43 -0500 Subject: [PATCH] Uncomment if block from testing --- RecodeItLib/Remapper/AutoMatcher.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RecodeItLib/Remapper/AutoMatcher.cs b/RecodeItLib/Remapper/AutoMatcher.cs index b230c11..b5ec8a4 100644 --- a/RecodeItLib/Remapper/AutoMatcher.cs +++ b/RecodeItLib/Remapper/AutoMatcher.cs @@ -60,13 +60,13 @@ public class AutoMatcher(List mappings, string mappingPath) CandidateTypes!.Remove(candidate); continue; } - /* + if (!ContainsTargetMethods(target, candidate, remapModel.SearchParams.Methods)) { CandidateTypes!.Remove(candidate); continue; } - */ + if (!ContainsTargetFields(target, candidate, remapModel.SearchParams.Fields)) { CandidateTypes!.Remove(candidate);