From 2ed7f674d61e52f1bffddd5a99a630104fd29030 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 11 Oct 2023 10:07:27 +0200 Subject: Ignoring item in inventory change for quiver arrow (replaces sb menu when holding a shortbow, at least in dungeon sometimes) --- src/main/java/at/hannibal2/skyhanni/data/OwnInventoryData.kt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main/java/at/hannibal2') 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 -- cgit