[F] FestaControl crash

This commit is contained in:
Clansty
2025-10-15 10:03:03 +08:00
parent bb673cfa38
commit a2393cf526

View File

@@ -2,6 +2,7 @@ using AquaMai.Config.Attributes;
using AquaMai.Core.Attributes;
using HarmonyLib;
using Manager;
using Process;
namespace AquaMai.Mods.UX;
@@ -24,4 +25,11 @@ public static class FestaControl
{
Traverse.Create(__instance).Property<bool>("isOpenFesta").Value = isFesta;
}
[HarmonyPrefix]
[HarmonyPatch(typeof(GetPresentProcess), "CreateFestaBorderRewardListOpenFesta")]
public static bool CreateFestaBorderRewardListOpenFesta()
{
return false;
}
}