aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-26 18:22:41 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-26 18:22:41 +0100
commiteb69c8b47087037388ccad6d44955a75746c0e2e (patch)
tree20589d796bc129b36db88411797c21eba8b6e84a /src/main/java
parent410af59a3a91dee103c9968c477ab7d60f0d665d (diff)
downloadskyhanni-eb69c8b47087037388ccad6d44955a75746c0e2e.tar.gz
skyhanni-eb69c8b47087037388ccad6d44955a75746c0e2e.tar.bz2
skyhanni-eb69c8b47087037388ccad6d44955a75746c0e2e.zip
Fixed bazaar features not working for items with an - (turbo farming books and triple strike)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt2
1 files changed, 1 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 234498d5d..5ececdff3 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt
@@ -21,7 +21,7 @@ class BazaarApi {
if (name.endsWith(" Gemstone")) {
return name.substring(6)
}
- return name.removeColor()
+ return name.replace("-", " ").removeColor()
}
fun getBazaarDataForName(name: String): BazaarData? {