diff --git a/DumpLib/Helpers/TypeHelper.cs b/DumpLib/Helpers/TypeHelper.cs index 1da2a5d..e59478b 100644 --- a/DumpLib/Helpers/TypeHelper.cs +++ b/DumpLib/Helpers/TypeHelper.cs @@ -265,14 +265,16 @@ public static class TypeHelper var properties = x.GetProperties(); var methods = x.GetMethods(); - return fields.Length == 25 && constructors.Length == 2 && - properties.Length == 0 && methods.Length == 4 && - fields.Any(f => f.Name == "KarmaValue") && - fields.Any(f => f.Name == "Encyclopedia") && - fields.Any(f => f.Name == "Id") && - fields.Any(f => f.Name == "AccountId") && - fields.Any(f => f.Name == "PetId") && - fields.Any(f => f.Name == "Customization"); + return fields.Length == 26 + && constructors.Length == 2 + && properties.Length == 0 + && methods.Length == 4 + && fields.Any(f => f.Name == "KarmaValue") + && fields.Any(f => f.Name == "Encyclopedia") + && fields.Any(f => f.Name == "Id") + && fields.Any(f => f.Name == "AccountId") + && fields.Any(f => f.Name == "PetId") + && fields.Any(f => f.Name == "Customization"); }); } catch (Exception e) diff --git a/RecodeItLib/Dumper/DumperClass.cs b/RecodeItLib/Dumper/DumperClass.cs index 33e5a55..2a8e5cb 100644 --- a/RecodeItLib/Dumper/DumperClass.cs +++ b/RecodeItLib/Dumper/DumperClass.cs @@ -264,9 +264,9 @@ public class DumperClass var method = type.Methods.First(DumpyReflectionHelper.GetRunValidationMethod); var method2 = type.NestedTypes[0].Methods.First(DumpyReflectionHelper.GetRunValidationNextMethod); - if (method == null || method.Body.Instructions.Count != 25) + if (method == null || method.Body.Instructions.Count != 23) { - Logger.Log($"RunValidation Instructions count has changed from 25 to {method.Body.Instructions.Count}"); + Logger.Log($"RunValidation Instructions count has changed from 23 to {method.Body.Instructions.Count}"); } if (method2 == null || method2.Body.Instructions.Count != 171)