From fb94ced40df8dfd14c16d7138c345419c8c011ed Mon Sep 17 00:00:00 2001
From: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Date: Fri, 14 Jun 2024 16:20:00 +0200
Subject: more typo fixes, more dictionary words
---
.idea/dictionaries/default_user.xml | 7 +++++++
.../features/misc/items/EstimatedItemValueCalculator.kt | 14 +++++++-------
2 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/.idea/dictionaries/default_user.xml b/.idea/dictionaries/default_user.xml
index 73944464b..5a94cb662 100644
--- a/.idea/dictionaries/default_user.xml
+++ b/.idea/dictionaries/default_user.xml
@@ -45,8 +45,10 @@
despawn
dicer
disintegrator
+ disintegrators
dragontail
dreadfarm
+ dreadlord
dungeoneering
dwarven
egglocator
@@ -69,6 +71,7 @@
goldor
gratitudes
hatcessory
+ hecatomb
hideparticles
hoppity
hoppity's
@@ -76,6 +79,7 @@
hotbar
hotm
hoverable
+ hpb's
hypixel
hypixel's
ichor
@@ -147,6 +151,8 @@
pyrochaos
quazii
rclick
+ recombobulated
+ recombobulator
redstone
reindrake
renderable
@@ -180,6 +186,7 @@
soulweaver
sprayonator
stillgore
+ stonk
superboom
supercraft
supercrafting
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): Double {
+ private fun addRecombobulator(stack: ItemStack, list: MutableList): 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): 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()
--
cgit