From fcf81004d3ad538f56feb855d2d9bece94edc33b Mon Sep 17 00:00:00 2001 From: Katie Durden Date: Mon, 30 Jan 2023 17:43:07 -0800 Subject: [PATCH] Typo: `isCustomizingChrachter` should be `isCustomizingCharacter`. Updated all occurrences. --- stardew-access/ModEntry.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stardew-access/ModEntry.cs b/stardew-access/ModEntry.cs index a7009f9..7049d76 100644 --- a/stardew-access/ModEntry.cs +++ b/stardew-access/ModEntry.cs @@ -212,7 +212,7 @@ namespace stardew_access #region Simulate left and right clicks if (Game1.activeClickableMenu != null) { - bool isCustomizingChrachter = Game1.activeClickableMenu is CharacterCustomization || (TitleMenu.subMenu != null && TitleMenu.subMenu is CharacterCustomization); + bool isCustomizingCharacter = Game1.activeClickableMenu is CharacterCustomization || (TitleMenu.subMenu != null && TitleMenu.subMenu is CharacterCustomization); #region Mouse Click Simulation // Main Keybinds @@ -226,11 +226,11 @@ namespace stardew_access } // Alternate Keybinds - if (!isCustomizingChrachter && Game1.activeClickableMenu is not AnimalQueryMenu && Config.LeftClickAlternateKey.JustPressed()) // Excluding the character creation menu + if (!isCustomizingCharacter && Game1.activeClickableMenu is not AnimalQueryMenu && Config.LeftClickAlternateKey.JustPressed()) // Excluding the character creation menu { Game1.activeClickableMenu.receiveLeftClick(Game1.getMouseX(true), Game1.getMouseY(true)); } - if (!isCustomizingChrachter && Game1.activeClickableMenu is not AnimalQueryMenu && Config.RightClickAlternateKey.JustPressed()) // Excluding the character creation menu + if (!isCustomizingCharacter && Game1.activeClickableMenu is not AnimalQueryMenu && Config.RightClickAlternateKey.JustPressed()) // Excluding the character creation menu { Game1.activeClickableMenu.receiveRightClick(Game1.getMouseX(true), Game1.getMouseY(true)); } @@ -239,7 +239,7 @@ namespace stardew_access if (Game1.currentMinigame != null) { - bool isCustomizingChrachter = Game1.activeClickableMenu is CharacterCustomization || (TitleMenu.subMenu != null && TitleMenu.subMenu is CharacterCustomization); + bool isCustomizingCharacter = Game1.activeClickableMenu is CharacterCustomization || (TitleMenu.subMenu != null && TitleMenu.subMenu is CharacterCustomization); #region Mouse Click Simulation // Main Keybinds