aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2023-05-09 06:53:45 +1000
committerGitHub <noreply@github.com>2023-05-08 22:53:45 +0200
commit55c2614cb69551363607cbdb7f42c38eccd3d38e (patch)
tree3e77f3ddca2a3a271d5a1f9d06f324111ab3d7ec /src/main/java/at/hannibal2/skyhanni/utils
parent7a493ca560b74f1fe995fbe351c79eabaa90d432 (diff)
downloadskyhanni-55c2614cb69551363607cbdb7f42c38eccd3d38e.tar.gz
skyhanni-55c2614cb69551363607cbdb7f42c38eccd3d38e.tar.bz2
skyhanni-55c2614cb69551363607cbdb7f42c38eccd3d38e.zip
Trevor features and solver (#92)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
index d605c294e..7fbb70539 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
@@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.utils.ItemUtils.getInternalName
import at.hannibal2.skyhanni.utils.NumberUtil.romanToDecimal
import at.hannibal2.skyhanni.utils.StringUtils.matchMatcher
import io.github.moulberry.notenoughupdates.NEUManager
+import io.github.moulberry.notenoughupdates.NEUOverlay
import io.github.moulberry.notenoughupdates.NotEnoughUpdates
import io.github.moulberry.notenoughupdates.overlays.AuctionSearchOverlay
import io.github.moulberry.notenoughupdates.overlays.BazaarSearchOverlay
@@ -219,11 +220,11 @@ object NEUItems {
return recipes
}
- // TODO add support for neu item list
fun neuHasFocus(): Boolean {
if (AuctionSearchOverlay.shouldReplace()) return true
if (BazaarSearchOverlay.shouldReplace()) return true
if (InventoryUtils.inStorage()) return true
+ if (NEUOverlay.searchBarHasFocus) return true
return false
}