diff options
author | Jacob <55346310+Kathund@users.noreply.github.com> | 2025-07-01 19:56:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-01 13:56:40 +0200 |
commit | acd7c95b7d1bf62cc4cda09487ea8ec3b6e7266f (patch) | |
tree | af596668bb03921f70d7037e0a0799a99e97b807 /src | |
parent | 895471502ebb48939b65f5d1e78937ff325e37c4 (diff) | |
download | Firmament-acd7c95b7d1bf62cc4cda09487ea8ec3b6e7266f.tar.gz Firmament-acd7c95b7d1bf62cc4cda09487ea8ec3b6e7266f.tar.bz2 Firmament-acd7c95b7d1bf62cc4cda09487ea8ec3b6e7266f.zip |
fix: require bz/ah tooltip being off for keybind to work
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/features/inventory/PriceData.kt | 5 |
1 files changed, 2 insertions, 3 deletions
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() |