Browse Source

Virtualizes methods that were already virtual but also final

pull/63/head
Zingabopp 3 years ago
parent
commit
c6b9f05bbb
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      IPA.Injector/Virtualizer.cs

+ 2
- 1
IPA.Injector/Virtualizer.cs View File

@ -103,7 +103,7 @@ namespace IPA.Injector
if (method.IsManaged
&& method.IsIL
&& !method.IsStatic
&& !method.IsVirtual
&& (!method.IsVirtual || method.IsFinal)
&& !method.IsAbstract
&& !method.IsAddOn
&& !method.IsConstructor
@ -128,6 +128,7 @@ namespace IPA.Injector
}
method.IsVirtual = true;
method.IsFinal = false;
method.IsPublic = true;
method.IsPrivate = false;
method.IsNewSlot = true;


Loading…
Cancel
Save