[+] ForceIgnoreError
Build AquaMai / build (push) Has been cancelled Details

pull/88/head
Clansty 2024-11-20 04:06:15 +08:00
parent b3cb08316a
commit 711c18a7f1
No known key found for this signature in database
GPG Key ID: 3A6BE8BAF2EDE134
1 changed files with 8 additions and 0 deletions

View File

@ -77,6 +77,14 @@ public class BasicFix
return false; 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) public static void DoCustomPatch(HarmonyLib.Harmony h)
{ {
if (typeof(GameManager).GetMethod("CalcSpecialNum") is null) return; if (typeof(GameManager).GetMethod("CalcSpecialNum") is null) return;