This commit is contained in:
kmyuhkyuk 2022-10-11 06:43:03 +08:00
parent c482eb52d3
commit 81d831d519

View File

@ -45,7 +45,6 @@ namespace SkinHide.Utils
var ilGen = dmd.GetILGenerator();
Type[] parameterTypes;
int num;
if (!method.IsStatic)
@ -90,7 +89,6 @@ namespace SkinHide.Utils
}
}
if (method.IsStatic || !virtualCall)
{
ilGen.Emit(OpCodes.Call, method);