diff --git a/stardew-access/HarmonyPatches.cs b/stardew-access/HarmonyPatches.cs index cb8d85c..b6cf1e3 100644 --- a/stardew-access/HarmonyPatches.cs +++ b/stardew-access/HarmonyPatches.cs @@ -213,7 +213,7 @@ namespace stardew_access #region Chat Menu Patches harmony.Patch( original: AccessTools.Method(typeof(ChatBox), nameof(ChatBox.update), new Type[] { typeof(GameTime) }), - postfix: new HarmonyMethod(typeof(ChatMenuPatches), nameof(ChatMenuPatches.ChatBoxPatch)) + postfix: new HarmonyMethod(typeof(ChatMenuPatch), nameof(ChatMenuPatch.UpdatePatch)) ); #endregion diff --git a/stardew-access/Patches/CarpenterMenuPach.cs b/stardew-access/Patches/CarpenterMenuPatch.cs similarity index 100% rename from stardew-access/Patches/CarpenterMenuPach.cs rename to stardew-access/Patches/CarpenterMenuPatch.cs diff --git a/stardew-access/Patches/ChatMenuPatches.cs b/stardew-access/Patches/ChatMenuPatch.cs similarity index 93% rename from stardew-access/Patches/ChatMenuPatches.cs rename to stardew-access/Patches/ChatMenuPatch.cs index c997ac7..a0b521e 100644 --- a/stardew-access/Patches/ChatMenuPatches.cs +++ b/stardew-access/Patches/ChatMenuPatch.cs @@ -1,14 +1,13 @@ -using StardewValley; -using StardewValley.Menus; +using StardewValley.Menus; namespace stardew_access.Patches { - internal class ChatMenuPatches + internal class ChatMenuPatch { private static int currentChatMessageIndex = 0; private static bool isChatRunning = false; - internal static void ChatBoxPatch(ChatBox __instance, List ___messages) + internal static void UpdatePatch(ChatBox __instance, List ___messages) { try { diff --git a/stardew-access/Patches/MenuPatches.cs b/stardew-access/Patches/MenuPatches.cs index 1aa61a1..46acc3f 100644 --- a/stardew-access/Patches/MenuPatches.cs +++ b/stardew-access/Patches/MenuPatches.cs @@ -311,7 +311,6 @@ namespace stardew_access.Patches } } - internal static void LanguageSelectionMenuPatch(LanguageSelectionMenu __instance) { try