Skip to content

Commit

Permalink
[+] ForceIgnoreError
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Nov 19, 2024
1 parent b3cb083 commit 711c18a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions AquaMai/Fix/BasicFix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ private static bool ForceNonTarget(ref bool __result)
return false;
}

[HarmonyPostfix]
[HarmonyPatch(typeof(MAI2System.Config), "IsIgnoreError")]
private static bool ForceIgnoreError(ref bool __result)
{
__result = true;
return false;
}

public static void DoCustomPatch(HarmonyLib.Harmony h)
{
if (typeof(GameManager).GetMethod("CalcSpecialNum") is null) return;
Expand Down

0 comments on commit 711c18a

Please sign in to comment.