diff --git a/AquaMai.Mods/Fix/Common.cs b/AquaMai.Mods/Fix/Common.cs index f6366959..45dc133b 100644 --- a/AquaMai.Mods/Fix/Common.cs +++ b/AquaMai.Mods/Fix/Common.cs @@ -11,6 +11,7 @@ using System.Linq; using System.Reflection.Emit; using System.Reflection; using AquaMai.Mods.GameSystem; +using Manager.Operation; namespace AquaMai.Mods.Fix; @@ -178,4 +179,14 @@ public class Common // Remove all instructions before the target instruction. return instList.Skip(onceDispIndex); } -} + + [ConfigEntry] private static readonly bool disableDataUploader = true; + + [EnableIf(nameof(disableDataUploader))] + [HarmonyPrefix] + [HarmonyPatch(typeof(DataUploader), nameof(DataUploader.Start))] + private static bool PreDataUploaderStart() + { + return false; + } +} \ No newline at end of file