From 92c7ad12799eaacd1a0b856e70c69c72d0e95bd3 Mon Sep 17 00:00:00 2001 From: shoaib11120 Date: Tue, 28 Dec 2021 17:52:20 +0530 Subject: [PATCH] Hovered item bug fix --- stardew-access/Patches/DialoguePatcher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stardew-access/Patches/DialoguePatcher.cs b/stardew-access/Patches/DialoguePatcher.cs index ae0d1d3..27ef816 100644 --- a/stardew-access/Patches/DialoguePatcher.cs +++ b/stardew-access/Patches/DialoguePatcher.cs @@ -125,7 +125,7 @@ namespace stardew_access.Patches StringBuilder toSpeak = new StringBuilder(); #region Add item count before title - if(hoveredItem != null) + if(hoveredItem != null && hoveredItem.HasBeenInInventory) { int count = hoveredItem.Stack; if(count > 1)