aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-30 11:37:34 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-30 11:37:34 +0200
commitd9145e06f4cf1a4c35c91cbe00ff4939cfa3a9e3 (patch)
tree5962078c4934d9d9e77d8fee693e19da11f99520 /src/main/java/at/hannibal2/skyhanni
parenta73b94d524b3938f2b793b4e212ee0aa3f015d44 (diff)
downloadskyhanni-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/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/ItemDisplayOverlayFeatures.kt2
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"