aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-10-08 22:57:19 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-10-08 22:57:19 +0200
commit43ecdddd8eaac3858fc3ab2766415ef6466611f4 (patch)
tree788bd31b9af9d43924caa72e02b8b1449feac955 /src
parent67578ff1eb68c6df87ea50268c4ac2258f28812f (diff)
downloadskyhanni-43ecdddd8eaac3858fc3ab2766415ef6466611f4.tar.gz
skyhanni-43ecdddd8eaac3858fc3ab2766415ef6466611f4.tar.bz2
skyhanni-43ecdddd8eaac3858fc3ab2766415ef6466611f4.zip
typos
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt
index 62abb1c8c..e2efab05b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt
@@ -396,8 +396,8 @@ object EstimatedItemValueCalculator {
private fun addBookwormBook(stack: ItemStack, list: MutableList<String>): Double {
val count = stack.getBookwormBookCount() ?: return 0.0
- val tfHardcodedItemAgain = "BOOKWORM_BOOK".asInternalName()
- val price = tfHardcodedItemAgain.getPrice() * count
+ val bookwormBook = "BOOKWORM_BOOK".asInternalName()
+ val price = bookwormBook.getPrice() * count
list.add("§7Bookworm's Favorite Book: §e$count§7/§e5 §7(§6" + price.shortFormat() + "§7)")
return price
}