diff --git a/RecodeItLib/AutoMapper/ReCodeItAutoMapper.cs b/RecodeItLib/AutoMapper/ReCodeItAutoMapper.cs index 56c5add..ed29b1f 100644 --- a/RecodeItLib/AutoMapper/ReCodeItAutoMapper.cs +++ b/RecodeItLib/AutoMapper/ReCodeItAutoMapper.cs @@ -238,6 +238,8 @@ public class ReCodeItAutoMapper Logger.Log($"IsStruct: {pair.IsStruct}"); Logger.Log($"------------------------------------------------------------------------"); } + + Logger.Log($"Automatically remapped {MappingPairs.Count} objects"); } private void WriteChanges() diff --git a/RecodeItLib/Remapper/Search/TypeDefExtensions.cs b/RecodeItLib/Remapper/Search/TypeDefExtensions.cs index 3427591..7341843 100644 --- a/RecodeItLib/Remapper/Search/TypeDefExtensions.cs +++ b/RecodeItLib/Remapper/Search/TypeDefExtensions.cs @@ -177,7 +177,6 @@ internal static class TypeDefExtensions { return EMatchResult.Disabled; } - var attrs = type.CustomAttributes; if (type.HasCustomAttributes == parms.HasAttribute) {