aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt
index 79e15eed8..1d84eae92 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt
@@ -109,8 +109,7 @@ class AnitaMedalProfit {
val bronze = medal.factorBronze * amount
bronze * jacobTicketPrice
} else {
- val internalName = NEUItems.getRawInternalName(name)
- NEUItems.getPrice(internalName) * amount
+ NEUInternalName.fromItemName(name).getPrice() * amount
}
}
return otherItemsPrice