From eb69c8b47087037388ccad6d44955a75746c0e2e Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 26 Feb 2023 18:22:41 +0100 Subject: Fixed bazaar features not working for items with an - (turbo farming books and triple strike) --- src/main/java/at/hannibal2/skyhanni/features/bazaar/BazaarApi.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') 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? { -- cgit