diff --git a/RecodeItLib/Enums/ENoMatchReason.cs b/RecodeItLib/Enums/ENoMatchReason.cs index 35df421..088b43e 100644 --- a/RecodeItLib/Enums/ENoMatchReason.cs +++ b/RecodeItLib/Enums/ENoMatchReason.cs @@ -26,4 +26,6 @@ public enum ENoMatchReason NestedTypeInclude, NestedTypeExclude, NestedTypeCount, + EventsInclude, + EventExclude } \ No newline at end of file diff --git a/RecodeItLib/Remapper/ReCodeItRemapper.cs b/RecodeItLib/Remapper/ReCodeItRemapper.cs index 32dab83..24b42f5 100644 --- a/RecodeItLib/Remapper/ReCodeItRemapper.cs +++ b/RecodeItLib/Remapper/ReCodeItRemapper.cs @@ -393,7 +393,7 @@ public class ReCodeItRemapper if (!types.Any()) { - AllTypesFilteredOutFor(mapping, ENoMatchReason.PropertiesInclude); + AllTypesFilteredOutFor(mapping, ENoMatchReason.EventsInclude); mapping.TypeCandidates.UnionWith(types); return false; } @@ -402,7 +402,7 @@ public class ReCodeItRemapper if (!types.Any()) { - AllTypesFilteredOutFor(mapping, ENoMatchReason.PropertiesExclude); + AllTypesFilteredOutFor(mapping, ENoMatchReason.EventExclude); mapping.TypeCandidates.UnionWith(types); return false; }