aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt6
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarOrderHelper.kt5
2 files changed, 10 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt
index e22bc1c03..0f6817dd1 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt
@@ -28,7 +28,11 @@ class BazaarApi {
if (newName.contains("Turbo-Cacti ")) {
newName = newName.replace("Cacti", "Cactus")
}
- return newName.replace("-", " ").removeColor()
+ newName = newName.removeColor()
+ if (!name.contains("Tightly-Tied")) {
+ newName = newName.replace("-", " ")
+ }
+ return newName
}
fun getBazaarDataForName(name: String): BazaarData? {
diff --git a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarOrderHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarOrderHelper.kt
index 0af974239..8fbb9b0c3 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarOrderHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarOrderHelper.kt
@@ -51,6 +51,11 @@ class BazaarOrderHelper {
if (data == null) {
LorenzUtils.debug("Bazaar data is null!")
println("Bazaar data is null for '$rawName'/'$bazaarName'")
+// for (key in BazaarApi.bazaarMap.keys) {
+// if (key.lowercase().contains("hay")) {
+// println("key: '$key'")
+// }
+// }
continue
}