diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-15 14:17:24 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-15 14:17:24 +0100 |
commit | b744133f7c4b56a02c774caf02cea99cc1c580cc (patch) | |
tree | c1fdfa539e49d40d44333852d438fb544207eb71 /src/main | |
parent | 893b98ebd6269fd8c23b882cdab02147457f4bee (diff) | |
download | skyhanni-b744133f7c4b56a02c774caf02cea99cc1c580cc.tar.gz skyhanni-b744133f7c4b56a02c774caf02cea99cc1c580cc.tar.bz2 skyhanni-b744133f7c4b56a02c774caf02cea99cc1c580cc.zip |
more modern item price usage
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/AnitaMedalProfit.kt | 3 |
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 |