fix: remove debug lines
This commit is contained in:
parent
7ec5bb3ef2
commit
adaa75f597
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue