aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-10 12:24:06 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-05-10 12:24:06 +0200
commitb824b3d723bb230ddf61b9c4434fbe7e237d9543 (patch)
treeca49cebbb6d45236e09aa9aaa9b3b4089cff8a8f /src/main/java/at/hannibal2/skyhanni/data
parentd5d626895b6eb5d9288709ac54832692ed9ff483 (diff)
downloadskyhanni-b824b3d723bb230ddf61b9c4434fbe7e237d9543.tar.gz
skyhanni-b824b3d723bb230ddf61b9c4434fbe7e237d9543.tar.bz2
skyhanni-b824b3d723bb230ddf61b9c4434fbe7e237d9543.zip
ignoring map items in collection pickup logic
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/OwnInventoryData.kt2
1 files changed, 2 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 3e6e69f41..f366f0aed 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/OwnInventoryData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/OwnInventoryData.kt
@@ -75,6 +75,8 @@ class OwnInventoryData {
if (diffWorld < 3_000) return
val internalName = item.getInternalName()
+ if (internalName.startsWith("MAP-")) return
+
val (_, amount) = NEUItems.getMultiplier(internalName)
if (amount > 1) return