[+] IgnoreAimeServerError

This commit is contained in:
Clansty
2024-10-15 17:05:55 +08:00
parent 60813274dc
commit e04e5596a3
4 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using HarmonyLib;
using Manager;
namespace AquaMai.Fix;
public class IgnoreAimeServerError
{
[HarmonyPatch(typeof(OperationManager), "IsAliveAimeServer", MethodType.Getter)]
[HarmonyPrefix]
public static bool Prefix(ref bool __result)
{
__result = true;
return false;
}
}