diff --git a/AquaMai/Fix/BasicFix.cs b/AquaMai/Fix/BasicFix.cs index 50497095..b7c62406 100644 --- a/AquaMai/Fix/BasicFix.cs +++ b/AquaMai/Fix/BasicFix.cs @@ -69,7 +69,7 @@ private static void OnNetHttpClientCreate() } [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 @@ private static bool ForceNonTarget(ref bool __result) } [HarmonyPostfix] - [HarmonyPatch(typeof(MAI2System.Config), "IsIgnoreError")] + [HarmonyPatch(typeof(MAI2System.Config), "IsIgnoreError", MethodType.Getter)] private static bool ForceIgnoreError(ref bool __result) { __result = true;