fix: remove debug lines

This commit is contained in:
Anna 2022-01-11 05:25:06 -05:00
parent 7ec5bb3ef2
commit adaa75f597
1 changed files with 0 additions and 3 deletions

View File

@ -44,11 +44,9 @@ public static class Siggingway {
}
var actualType = info.ActualType;
PluginLog.Information($"actualType: {actualType}");
if (actualType.IsGenericType && actualType.GetGenericTypeDefinition() == typeof(Nullable<>)) {
// unwrap the nullable
actualType = actualType.GetGenericArguments()[0];
PluginLog.Information($"unwrapped actualType: {actualType}");
}
switch (sig.UseFlags) {
@ -106,7 +104,6 @@ public static class Siggingway {
var hook = ctor.Invoke(new object?[] { ptr, detour });
info.SetValue(self, hook);
PluginLog.Information($"Hook {selfType.FullName}.{info.Name} set up");
break;
}