AquaDX/AquaMai/Fix/IgnoreAimeServerError.cs

16 lines
313 B
C#
Raw Normal View History

2024-10-15 17:05:55 +08:00
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;
}
}