AquaDX/AquaMai/Fix/IgnoreAimeServerError.cs

16 lines
313 B
C#

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;
}
}