mirror of https://github.com/hykilpikonna/AquaDX
[+] ForceIgnoreError
Build AquaMai / build (push) Has been cancelled
Details
Build AquaMai / build (push) Has been cancelled
Details
parent
b3cb08316a
commit
711c18a7f1
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue