diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-06-14 16:20:00 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-06-14 16:20:00 +0200 |
commit | fb94ced40df8dfd14c16d7138c345419c8c011ed (patch) | |
tree | 73b77c5aafeea4a36a4a9b56777116429615b155 /src | |
parent | 656650a47e2094e800929bb4ba156d8a752da8cf (diff) | |
download | skyhanni-fb94ced40df8dfd14c16d7138c345419c8c011ed.tar.gz skyhanni-fb94ced40df8dfd14c16d7138c345419c8c011ed.tar.bz2 skyhanni-fb94ced40df8dfd14c16d7138c345419c8c011ed.zip |
more typo fixes, more dictionary words
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValueCalculator.kt | 14 |
1 files changed, 7 insertions, 7 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 789fc30eb..e1619ad92 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 @@ -62,7 +62,7 @@ object EstimatedItemValueCalculator { ::addReforgeStone, // once - ::addRecomb, + ::addRecombobulator, ::addArtOfWar, ::addArtOfPeace, ::addEtherwarp, @@ -269,7 +269,7 @@ object EstimatedItemValueCalculator { } } - private fun addRecomb(stack: ItemStack, list: MutableList<String>): Double { + private fun addRecombobulator(stack: ItemStack, list: MutableList<String>): Double { if (!stack.isRecombobulated()) return 0.0 val price = "RECOMBOBULATOR_3000".asInternalName().getPrice() @@ -365,8 +365,8 @@ object EstimatedItemValueCalculator { private fun addPolarvoidBook(stack: ItemStack, list: MutableList<String>): Double { val count = stack.getPolarvoidBookCount() ?: return 0.0 - val broDilloMiningSoBad = "POLARVOID_BOOK".asInternalName() - val price = broDilloMiningSoBad.getPrice() * count + val polarvoidBook = "POLARVOID_BOOK".asInternalName() + val price = polarvoidBook.getPrice() * count list.add("§7Polarvoid: §e$count§7/§e5 §7(§6" + price.shortFormat() + "§7)") return price } @@ -480,9 +480,9 @@ object EstimatedItemValueCalculator { ): Double { val price = internalName.getPrice() val name = internalName.getNameOrRepoError() - val displayname = name ?: "§c${internalName.asString()}" + val displayName = name ?: "§c${internalName.asString()}" val color = if (shouldIgnorePrice) "§7" else "§6" - list.add("§7$label: $displayname §7($color" + price.shortFormat() + "§7)") + list.add("§7$label: $displayName §7($color" + price.shortFormat() + "§7)") if (name == null) { list.add(" §8(Not yet in NEU Repo)") } @@ -680,7 +680,7 @@ object EstimatedItemValueCalculator { val unlockedSlots = stack.getExtraAttributes()?.getCompoundTag("gems")?.getTag("unlocked_slots")?.toString() ?: return 0.0 - // TODO detection for old items which doesnt have gems.unlocked_slots NBT array + // TODO detection for old items which doesn't have gems.unlocked_slots NBT array // if (unlockedSlots == "null") return 0.0 val priceMap = mutableMapOf<String, Double>() |