diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-08-22 05:45:24 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-08-22 05:45:24 +0200 |
commit | 7755f9d4bc5404b2e61dc5da8b6d390fadc93252 (patch) | |
tree | e6ece43f433e9fa2383ef20fc2f902b7ca4f8e72 /src | |
parent | 365bc501d60372ac95b77024254bf130a6d62470 (diff) | |
download | skyhanni-7755f9d4bc5404b2e61dc5da8b6d390fadc93252.tar.gz skyhanni-7755f9d4bc5404b2e61dc5da8b6d390fadc93252.tar.bz2 skyhanni-7755f9d4bc5404b2e61dc5da8b6d390fadc93252.zip |
fix crash
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/items/ItemStars.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/items/ItemStars.kt b/src/main/java/at/hannibal2/skyhanni/features/items/ItemStars.kt index 0131801e2..224ababfe 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/items/ItemStars.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/items/ItemStars.kt @@ -134,11 +134,11 @@ class ItemStars { gold++ } while (name.contains("§c✪")) { - name = name.replaceFirst("§6✪", "") + name = name.replaceFirst("§c✪", "") red++ } while (name.contains("§d✪")) { - name = name.replaceFirst("§6✪", "") + name = name.replaceFirst("§d✪", "") red++ } |