fix: require bz/ah tooltip being off for keybind to work

This commit is contained in:
Jacob
2025-07-01 19:56:40 +08:00
committed by GitHub
parent 895471502e
commit acd7c95b7d

View File

@@ -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()