From acd7c95b7d1bf62cc4cda09487ea8ec3b6e7266f Mon Sep 17 00:00:00 2001 From: Jacob <55346310+Kathund@users.noreply.github.com> Date: Tue, 1 Jul 2025 19:56:40 +0800 Subject: fix: require bz/ah tooltip being off for keybind to work --- src/main/kotlin/features/inventory/PriceData.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/main/kotlin/features/inventory/PriceData.kt b/src/main/kotlin/features/inventory/PriceData.kt index 2e854b7..92bfc58 100644 --- a/src/main/kotlin/features/inventory/PriceData.kt +++ b/src/main/kotlin/features/inventory/PriceData.kt @@ -61,9 +61,8 @@ object PriceData : FirmamentFeature { @Subscribe fun onItemTooltip(it: ItemTooltipEvent) { - if (!TConfig.tooltipEnabled && !TConfig.enableKeybinding.isPressed()) { - return - } + if (!TConfig.tooltipEnabled) return + if (TConfig.enableKeybinding.isBound && !TConfig.enableKeybinding.isPressed()) return val sbId = it.stack.skyBlockId val stackSize = it.stack.count val isShowingStack = TConfig.stackSizeKey.isPressed() -- cgit