diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-09 18:43:44 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-09 18:43:44 +0100 |
commit | 4f495652ee2c40ec2fd7c31caed6890481af82f4 (patch) | |
tree | 56d650a2502aaf8b225ee4215636a797a49b40e8 /src/main/java | |
parent | 8b56c2f9e2079c3aac3cb6ad8a9f30d23615e2f7 (diff) | |
download | skyhanni-4f495652ee2c40ec2fd7c31caed6890481af82f4.tar.gz skyhanni-4f495652ee2c40ec2fd7c31caed6890481af82f4.tar.bz2 skyhanni-4f495652ee2c40ec2fd7c31caed6890481af82f4.zip |
Fixed kuudra key display showing question mark
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt index 2a0cfc20c..a28cd5e86 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt @@ -5,8 +5,8 @@ import at.hannibal2.skyhanni.api.CollectionAPI import at.hannibal2.skyhanni.events.RenderItemTipEvent import at.hannibal2.skyhanni.utils.InventoryUtils import at.hannibal2.skyhanni.utils.ItemUtils +import at.hannibal2.skyhanni.utils.ItemUtils.cleanName import at.hannibal2.skyhanni.utils.ItemUtils.getLore -import at.hannibal2.skyhanni.utils.ItemUtils.name import at.hannibal2.skyhanni.utils.LorenzUtils.between import at.hannibal2.skyhanni.utils.NumberUtil.romanToDecimal import at.hannibal2.skyhanni.utils.NumberUtil.romanToDecimalIfNeeded @@ -26,7 +26,7 @@ class ItemDisplayOverlayFeatures { } private fun getStackTip(item: ItemStack): String { - val itemName = item.name ?: return "" + val itemName = item.cleanName() if (SkyHanniMod.feature.inventory.itemNumberAsStackSize.contains(0)) { when (itemName) { |