mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-04 20:27:27 +08:00
[F] Nested types patches without enable
This commit is contained in:
@@ -25,6 +25,10 @@ namespace AquaMai
|
||||
{
|
||||
MelonLogger.Msg($"> Patching {type}");
|
||||
HarmonyInstance.PatchAll(type);
|
||||
foreach (var nested in type.GetNestedTypes())
|
||||
{
|
||||
Patch(nested);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -56,10 +60,6 @@ namespace AquaMai
|
||||
if (directiveType != null)
|
||||
{
|
||||
Patch(directiveType);
|
||||
foreach (var nested in directiveType.GetNestedTypes())
|
||||
{
|
||||
Patch(nested);
|
||||
}
|
||||
}
|
||||
else MelonLogger.Error($"Type not found for {categoryProp.Name}.{settingProp.Name}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user