mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-14 15:47:27 +08:00
[+] IgnoreAimeServerError
This commit is contained in:
15
AquaMai/Fix/IgnoreAimeServerError.cs
Normal file
15
AquaMai/Fix/IgnoreAimeServerError.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user