mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-12 23:37:27 +08:00
[+] ForceIgnoreError
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user