diff --git a/stardew-access/Patches/DialoguePatches.cs b/stardew-access/Patches/DialoguePatches.cs index 8eaf766..437ddaa 100644 --- a/stardew-access/Patches/DialoguePatches.cs +++ b/stardew-access/Patches/DialoguePatches.cs @@ -105,7 +105,6 @@ namespace stardew_access.Patches else toSpeak = response; - MainClass.ErrorLog(toSpeak); MainClass.GetScreenReader().Say(toSpeak, true); } } diff --git a/stardew-access/Patches/GameMenuPatches.cs b/stardew-access/Patches/GameMenuPatches.cs index f815451..6d2931c 100644 --- a/stardew-access/Patches/GameMenuPatches.cs +++ b/stardew-access/Patches/GameMenuPatches.cs @@ -234,19 +234,19 @@ namespace stardew_access.Patches break; case 2: // For inventory slots { - if (__instance.inventory != null && __instance.inventory.inventory.Count >= 0) + if (__instance.inventory != null && __instance.inventory.actualInventory.Count >= 0) { int prevSlotIndex = currentInventorySlot; currentInventorySlot = currentInventorySlot + (isLeftShiftPressed ? -1 : 1); - if (currentInventorySlot >= __instance.inventory.inventory.Count) + if (currentInventorySlot >= __instance.inventory.actualInventory.Count) if (isLeftShiftPressed) - currentInventorySlot = __instance.inventory.inventory.Count - 1; + currentInventorySlot = __instance.inventory.actualInventory.Count - 1; else currentInventorySlot = 0; if (currentInventorySlot < 0) if (isLeftShiftPressed) - currentInventorySlot = __instance.inventory.inventory.Count - 1; + currentInventorySlot = __instance.inventory.actualInventory.Count - 1; else currentInventorySlot = 0;