mirror of https://github.com/hykilpikonna/AquaDX
[F] should hook getter
Build AquaMai / build (push) Has been cancelled
Details
Build AquaMai / build (push) Has been cancelled
Details
parent
711c18a7f1
commit
7ac90891ca
|
@ -69,7 +69,7 @@ public class BasicFix
|
|||
}
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(MAI2System.Config), "IsTarget")]
|
||||
[HarmonyPatch(typeof(MAI2System.Config), "IsTarget", MethodType.Getter)]
|
||||
private static bool ForceNonTarget(ref bool __result)
|
||||
{
|
||||
// Who teaching others to set Target=1?!
|
||||
|
@ -78,7 +78,7 @@ public class BasicFix
|
|||
}
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(MAI2System.Config), "IsIgnoreError")]
|
||||
[HarmonyPatch(typeof(MAI2System.Config), "IsIgnoreError", MethodType.Getter)]
|
||||
private static bool ForceIgnoreError(ref bool __result)
|
||||
{
|
||||
__result = true;
|
||||
|
|
Loading…
Reference in New Issue