diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-30 11:37:34 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-30 11:37:34 +0200 |
commit | d9145e06f4cf1a4c35c91cbe00ff4939cfa3a9e3 (patch) | |
tree | 5962078c4934d9d9e77d8fee693e19da11f99520 /src | |
parent | a73b94d524b3938f2b793b4e212ee0aa3f015d44 (diff) | |
download | skyhanni-d9145e06f4cf1a4c35c91cbe00ff4939cfa3a9e3.tar.gz skyhanni-d9145e06f4cf1a4c35c91cbe00ff4939cfa3a9e3.tar.bz2 skyhanni-d9145e06f4cf1a4c35c91cbe00ff4939cfa3a9e3.zip |
Fixed not being able to disable show Dungeon Head Floor Number as stack size.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt | 2 |
1 files changed, 1 insertions, 1 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 06e7601c1..c65c235a5 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt @@ -43,7 +43,7 @@ class ItemDisplayOverlayFeatures { return itemName.substring(itemName.length - 1) } - if (SkyHanniMod.feature.inventory.itemNumberAsStackSize.contains(2) && itemName.contains("Golden ") || itemName.contains("Diamond ")) { + if (SkyHanniMod.feature.inventory.itemNumberAsStackSize.contains(2) && (itemName.contains("Golden ") || itemName.contains("Diamond "))) { when { itemName.contains("Bonzo") -> return "1" itemName.contains("Scarf") -> return "2" |