diff options
author | Sunderw <73128678+Sunderw3k@users.noreply.github.com> | 2023-04-24 11:59:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 11:59:51 +0200 |
commit | af3567ad9f65f8495b889428c04da12f85d35aec (patch) | |
tree | 8d76ab0423b4e3e81dad75761c36f8608da9ad05 /src/main/java | |
parent | 86b4ecc9f015c22da204b9572471a3f1ddf50026 (diff) | |
download | skyhanni-af3567ad9f65f8495b889428c04da12f85d35aec.tar.gz skyhanni-af3567ad9f65f8495b889428c04da12f85d35aec.tar.bz2 skyhanni-af3567ad9f65f8495b889428c04da12f85d35aec.zip |
Fixed level 0 skill names being parsed as levels (#54)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt | 1 |
1 files changed, 1 insertions, 0 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 87e279b2d..90bc84b19 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt @@ -128,6 +128,7 @@ class ItemDisplayOverlayFeatures { if (SkyHanniMod.feature.inventory.itemNumberAsStackSize.contains(9)) { if (InventoryUtils.openInventoryName() == "Your Skills") { if (item.getLore().any { it.contains("Click to view!") }) { + if (CollectionAPI.isCollectionTier0(item.getLore())) return "0" if (!itemName.contains("Dungeon")) { val text = itemName.split(" ").last() return "" + text.romanToDecimalIfNeeded() |