You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello i found a bug in PatchHelper.GetInstructions
its suposed to return Instruction[] and anyway no matter how hard i tried it was always returnign me an exception that i cannot cast IList to Instruction[]
so my quick workaround was to edit it from this code below
public Instruction[]GetInstructions(Targettarget){TypeDeftype=this.FindType(target.Namespace +"."+ target.Class, target.NestedClasses);MethodDefmethodDef=this.FindMethod(type, target.Method, target.Parameters, target.ReturnType);return(Instruction[])methodDef.Body.Instructions;}
Hello i found a bug in PatchHelper.GetInstructions
its suposed to return Instruction[] and anyway no matter how hard i tried it was always returnign me an exception that i cannot cast IList to Instruction[]
so my quick workaround was to edit it from this code below
into this one
if someone of you have some time please apply it to new release THANKS :) it will deffenetly help others
Hope you guys are doing well!!!
The text was updated successfully, but these errors were encountered: