From b744133f7c4b56a02c774caf02cea99cc1c580cc Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 15 Nov 2023 14:17:24 +0100 Subject: more modern item price usage --- .../java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main') 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 -- cgit