aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt
index ea9171b8e..18c0aabcd 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt
@@ -108,6 +108,7 @@ object EstimatedItemValue {
if (internalName.startsWith("MAP-")) return listOf()
// Hides the rune item
if (internalName.contains("_RUNE;")) return listOf()
+ if (internalName.contains("UNIQUE_RUNE")) return listOf()
if (NEUItems.getItemStackOrNull(internalName) == null) {
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
index 557048c73..4509d512e 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
@@ -189,6 +189,9 @@ object NEUItems {
fun getItemStack(internalName: NEUInternalName, definite: Boolean = false): ItemStack =
getItemStackOrNull(internalName) ?: run {
+
+ if (getPrice(internalName) == -1.0) return@run fallbackItem
+
if (definite) {
Utils.showOutdatedRepoNotification()
}