aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-11 10:07:27 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-11 10:07:27 +0200
commit2ed7f674d61e52f1bffddd5a99a630104fd29030 (patch)
tree0267c6c9c8b1cec28587bd00709a338bc7b8b09b
parente992f20bb98a4740f9069e931ec8ab4b1b1bce34 (diff)
downloadskyhanni-2ed7f674d61e52f1bffddd5a99a630104fd29030.tar.gz
skyhanni-2ed7f674d61e52f1bffddd5a99a630104fd29030.tar.bz2
skyhanni-2ed7f674d61e52f1bffddd5a99a630104fd29030.zip
Ignoring item in inventory change for quiver arrow (replaces sb menu when holding a shortbow, at least in dungeon sometimes)
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/OwnInventoryData.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/OwnInventoryData.kt b/src/main/java/at/hannibal2/skyhanni/data/OwnInventoryData.kt
index 93d85d1a6..7e2032077 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/OwnInventoryData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/OwnInventoryData.kt
@@ -77,6 +77,12 @@ class OwnInventoryData {
val internalName = item.getInternalNameOrNull()
+ item.name?.let {
+ if (it == "ยง8Quiver Arrow") {
+ return
+ }
+ }
+
if (internalName == null) {
LorenzUtils.debug("OwnInventoryData add is empty for: '${item.name}'")
return