diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-28 09:28:10 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-28 09:28:10 +0200 |
commit | 5baba39ff026fe777362ffece92b1a56395df396 (patch) | |
tree | 37fc3bbda570e34e0b2247dc1da24c55f8eb4a9d /src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt | |
parent | 8477760bfe6bf004ad553396b4a1b6786ceb1127 (diff) | |
download | skyhanni-5baba39ff026fe777362ffece92b1a56395df396.tar.gz skyhanni-5baba39ff026fe777362ffece92b1a56395df396.tar.bz2 skyhanni-5baba39ff026fe777362ffece92b1a56395df396.zip |
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt index 0dcc728c2..0a3478236 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/SkyBlockItemModifierUtils.kt @@ -144,7 +144,9 @@ object SkyBlockItemModifierUtils { }.sortedBy { it.first } } - fun ItemStack.getReforgeName() = getAttributeString("modifier") + fun ItemStack.getReforgeName() = getAttributeString("modifier")?.let { + if (it == "pitchin") "pitchin_koi" else it + } fun ItemStack.isRecombobulated() = getAttributeBoolean("rarity_upgrades") |