aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
index 0d0877312..dc0683b27 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
@@ -38,8 +38,14 @@ object NEUItems {
fun getPrice(internalName: String, useSellingPrice: Boolean = false): Double {
val result = manager.auctionManager.getBazaarOrBin(internalName, useSellingPrice)
// TODO remove workaround
- if (internalName == "JACK_O_LANTERN" && result == -1.0) {
- return getPrice("PUMPKIN") + 1
+ if (result == -1.0) {
+ if (internalName == "JACK_O_LANTERN") {
+ return getPrice("PUMPKIN") + 1
+ }
+ if (internalName == "GOLDEN_CARROT") {
+ // 6.8 for some players
+ return 7.0 // NPC price
+ }
}
return result
}