aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/features/inventory/PriceData.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/features/inventory/PriceData.kt')
-rw-r--r--src/main/kotlin/features/inventory/PriceData.kt5
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()