aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-28 18:04:34 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-01-28 18:04:34 +0100
commit0dd709b35f05359c48650ea8fc83f6c2479e56d8 (patch)
treed8368638a9f12d011d914513fe9874690c54b1ee /src/main/java/at/hannibal2/skyhanni/utils
parentbc8490f91db364b15bb2f7f9e83a5040bdac8acd (diff)
downloadskyhanni-0dd709b35f05359c48650ea8fc83f6c2479e56d8.tar.gz
skyhanni-0dd709b35f05359c48650ea8fc83f6c2479e56d8.tar.bz2
skyhanni-0dd709b35f05359c48650ea8fc83f6c2479e56d8.zip
Fixed rune price calculation in Chest Value.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
index 3bc79dbf2..d2c9776b7 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
@@ -380,4 +380,6 @@ object ItemUtils {
}
return rarity
}
+
+ fun NEUInternalName.isRune(): Boolean = contains("_RUNE;")
}