From c72b25ca634dcde09cbe6363c9e2365f976de7e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=B5=E5=A4=9C?= <34893504+xiaoye97@users.noreply.github.com> Date: Wed, 8 Feb 2023 23:34:58 +0800 Subject: [PATCH] fix game 20230208 update crash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复情人节更新导致的崩溃 --- CoreKeeperAutoFish/AutoFishPatch.cs | 2 +- CoreKeeperAutoFish/AutoFishPlugin.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CoreKeeperAutoFish/AutoFishPatch.cs b/CoreKeeperAutoFish/AutoFishPatch.cs index f8df5b7..c8cc8d6 100644 --- a/CoreKeeperAutoFish/AutoFishPatch.cs +++ b/CoreKeeperAutoFish/AutoFishPatch.cs @@ -86,7 +86,7 @@ public static void PlayerBaseState_StartFishing_Patch() autoThrowPullUp = false; } - [HarmonyPostfix, HarmonyPatch(typeof(PlayerState.PlayerBaseState), "ExitFishing")] + [HarmonyPostfix, HarmonyPatch(typeof(PlayerState.PlayerBaseState), "OnExitFishing")] public static void PlayerBaseState_ExitFishing_Patch(PlayerState.PlayerBaseState __instance, bool wasExitingState) { if (!wasExitingState) return; diff --git a/CoreKeeperAutoFish/AutoFishPlugin.cs b/CoreKeeperAutoFish/AutoFishPlugin.cs index 7bb9e9e..a26f8bf 100644 --- a/CoreKeeperAutoFish/AutoFishPlugin.cs +++ b/CoreKeeperAutoFish/AutoFishPlugin.cs @@ -13,7 +13,7 @@ internal class AutoFishPlugin : BasePlugin public const string GUID = "me.xiaoye97.plugin.CoreKeeperAutoFish"; public const string NAME = "CoreKeeperAutoFish"; public const string AUTHOR = "xiaoye97"; - public const string VERSION = "1.7.0"; + public const string VERSION = "1.8.0"; public static AutoFishPlugin Inst { get; private set; } public static ManualLogSource LogSource => Inst.Log;