Renamed classes

master
Mohammad Shoaib Khan 2023-03-10 14:35:46 +05:30
parent c553b589ab
commit a250cbd98d
No known key found for this signature in database
GPG Key ID: D8040D966320B620
4 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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<ChatMessage> ___messages)
internal static void UpdatePatch(ChatBox __instance, List<ChatMessage> ___messages)
{
try
{

View File

@ -311,7 +311,6 @@ namespace stardew_access.Patches
}
}
internal static void LanguageSelectionMenuPatch(LanguageSelectionMenu __instance)
{
try