diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-02 13:04:30 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-02 13:04:30 +0200 |
commit | e246c086141740668923f5b8c6d3b0ca5b0ea042 (patch) | |
tree | d2c80d0df582255aa9d9752642a7055463e82cda /src/main/java/at/hannibal2/skyhanni/features/misc | |
parent | b2b0a4794341885f52111f8fd6d863915b6d460d (diff) | |
download | skyhanni-e246c086141740668923f5b8c6d3b0ca5b0ea042.tar.gz skyhanni-e246c086141740668923f5b8c6d3b0ca5b0ea042.tar.bz2 skyhanni-e246c086141740668923f5b8c6d3b0ca5b0ea042.zip |
using NEUInternalName in more places
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt index fdad96da2..ca04f310c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/items/EstimatedItemValue.kt @@ -411,8 +411,8 @@ object EstimatedItemValue { private fun addSilex(stack: ItemStack, list: MutableList<String>): Double { val tier = stack.getSilexCount() ?: return 0.0 - val internalName = stack.getInternalName_old() - val maxTier = if (internalName == "STONK_PICKAXE") 4 else 5 + val internalName = stack.getInternalName() + val maxTier = if (internalName == "STONK_PICKAXE".asInternalName()) 4 else 5 val wtfHardcodedSilex = "SIL_EX".asInternalName() val price = wtfHardcodedSilex.getPrice() * tier |