aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFazfoxy <78978526+Fazfoxy@users.noreply.github.com>2024-10-16 07:27:09 +0100
committerGitHub <noreply@github.com>2024-10-16 17:27:09 +1100
commit5c8302a983ef8cd801c75eb4b547042e7cab7d77 (patch)
tree858e885ab7a51b4d47ee2d39c3aadf18c72c1ad3 /src
parentfaf84b622e0d9c9a89b5af7a787d837cc72484f0 (diff)
downloadskyhanni-5c8302a983ef8cd801c75eb4b547042e7cab7d77.tar.gz
skyhanni-5c8302a983ef8cd801c75eb4b547042e7cab7d77.tar.bz2
skyhanni-5c8302a983ef8cd801c75eb4b547042e7cab7d77.zip
Fix: Hypixel Carpentry Chests with Weird names (#2743)
Co-authored-by: Cal <cwolfson58@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/inventory/ChestValue.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/inventory/ChestValue.kt b/src/main/java/at/hannibal2/skyhanni/features/inventory/ChestValue.kt
index 50c5e446f..ba97ce88c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/inventory/ChestValue.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/inventory/ChestValue.kt
@@ -258,7 +258,9 @@ object ChestValue {
}
val inMinion = name.contains("Minion") && !name.contains("Recipe") && IslandType.PRIVATE_ISLAND.isInIsland()
- return name == "Chest" || name == "Large Chest" || inMinion || name == "Personal Vault"
+ // TODO: Use repo for this
+ return name == "Chest" || name == "Large Chest" || inMinion ||
+ name == "Personal Vault" || name == "Chest Storage" || name == "Wood Chest+"
}
private fun String.reduceStringLength(targetLength: Int, char: Char): String {