From 43ecdddd8eaac3858fc3ab2766415ef6466611f4 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 8 Oct 2024 22:57:19 +0200 Subject: typos --- .../skyhanni/features/misc/items/EstimatedItemValueCalculator.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') 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): 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 } -- cgit