mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-12 13:27:28 +08:00
[F] Crash with the new modified SDEZ145 DLL with deleted methods
This commit is contained in:
@@ -24,10 +24,17 @@ namespace AquaMai
|
||||
private void Patch(Type type)
|
||||
{
|
||||
MelonLogger.Msg($"> Patching {type}");
|
||||
HarmonyInstance.PatchAll(type);
|
||||
foreach (var nested in type.GetNestedTypes())
|
||||
try
|
||||
{
|
||||
Patch(nested);
|
||||
HarmonyInstance.PatchAll(type);
|
||||
foreach (var nested in type.GetNestedTypes())
|
||||
{
|
||||
Patch(nested);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
MelonLogger.Error($"Failed to patch {type}: {e}");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,6 +103,7 @@ namespace AquaMai
|
||||
Patch(typeof(BasicFix));
|
||||
Patch(typeof(DisableReboot));
|
||||
Patch(typeof(ExtendNotesPool));
|
||||
Patch(typeof(FixCheckAuth));
|
||||
// UX
|
||||
Patch(typeof(CustomVersionString));
|
||||
Patch(typeof(CustomPlaceName));
|
||||
|
||||
Reference in New Issue
Block a user