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 | 1db92faad9ddff47ec6cf59d794dbcc7e3c3aefd (patch) | |
| tree | 20589d796bc129b36db88411797c21eba8b6e84a | |
| parent | 7ebc06bc8106da47758bc137b30ba9a029e4fa3c (diff) | |
| download | SkyHanni-1db92faad9ddff47ec6cf59d794dbcc7e3c3aefd.tar.gz SkyHanni-1db92faad9ddff47ec6cf59d794dbcc7e3c3aefd.tar.bz2 SkyHanni-1db92faad9ddff47ec6cf59d794dbcc7e3c3aefd.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? { |
