diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-26 18:22:41 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-26 18:22:41 +0100 |
commit | eb69c8b47087037388ccad6d44955a75746c0e2e (patch) | |
tree | 20589d796bc129b36db88411797c21eba8b6e84a | |
parent | 410af59a3a91dee103c9968c477ab7d60f0d665d (diff) | |
download | skyhanni-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)
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 71d72e9d6..736112434 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ + Fixed bug with particles that blocks NotEnoughUpdates' Fishing features. + Hopefully fixed incompatibility with skytils' hide cheap coins feature. + Fixed dungeon milestone messages getting wrongfully formatted. ++ Fixed bazaar features not working for items with an - (turbo farming books and triple strike) ## Version 0.16 (2023-02-11) 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? { |