mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-09 22:47:26 +08:00
[+] Allow login with higher data version
This commit is contained in:
16
AquaMai/UX/SkipVersionCheck.cs
Normal file
16
AquaMai/UX/SkipVersionCheck.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using HarmonyLib;
|
||||
using Process.Entry.State;
|
||||
|
||||
namespace AquaMai.UX
|
||||
{
|
||||
public class SkipVersionCheck
|
||||
{
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(ConfirmPlay), "IsValidVersion")]
|
||||
public static bool IsValidVersion(ref bool __result)
|
||||
{
|
||||
__result = true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user