From ea1addf2437ac0f92628e3d91639d7582ceaf914 Mon Sep 17 00:00:00 2001 From: GuglioIsStupid Date: Fri, 6 Mar 2026 03:10:58 -0500 Subject: [PATCH] Remove unneeded code --- .../Common/UI/IUIScene_AbstractContainerMenu.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Minecraft.Client/Common/UI/IUIScene_AbstractContainerMenu.cpp b/Minecraft.Client/Common/UI/IUIScene_AbstractContainerMenu.cpp index eaef97579..96d8a9be8 100644 --- a/Minecraft.Client/Common/UI/IUIScene_AbstractContainerMenu.cpp +++ b/Minecraft.Client/Common/UI/IUIScene_AbstractContainerMenu.cpp @@ -1377,21 +1377,13 @@ bool IUIScene_AbstractContainerMenu::handleKeyDown(int iPad, int iAction, bool b quickKeyHeld = TRUE; if (IsSectionSlotList(m_eCurrSection)) { - int currentIndex = getCurrentIndex(m_eCurrSection) - getSectionStartOffset(m_eCurrSection); - - bool bSlotHasItem = !isSlotEmpty(m_eCurrSection, currentIndex); - if (bSlotHasItem) - ui.PlayUISFX(eSFX_Press); + ui.PlayUISFX(eSFX_Press); } } } else { if (IsSectionSlotList(m_eCurrSection)) { - int currentIndex = getCurrentIndex(m_eCurrSection) - getSectionStartOffset(m_eCurrSection); - - //bool bSlotHasItem = !isSlotEmpty(m_eCurrSection, currentIndex); - //if (bSlotHasItem) ui.PlayUISFX(eSFX_Press); } //