Skip to content

Commit

Permalink
[F] BasicFix
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Nov 21, 2024
1 parent fbff4a8 commit 9143b92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AquaMai/Fix/BasicFix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private static void OnNetHttpClientCreate()
ServicePointManager.ServerCertificateValidationCallback = null;
}

[HarmonyPostfix]
[HarmonyPrefix]
[HarmonyPatch(typeof(MAI2System.Config), "IsTarget", MethodType.Getter)]
private static bool ForceNonTarget(ref bool __result)
{
Expand All @@ -77,7 +77,7 @@ private static bool ForceNonTarget(ref bool __result)
return false;
}

[HarmonyPostfix]
[HarmonyPrefix]
[HarmonyPatch(typeof(MAI2System.Config), "IsIgnoreError", MethodType.Getter)]
private static bool ForceIgnoreError(ref bool __result)
{
Expand Down

0 comments on commit 9143b92

Please sign in to comment.