aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-08-22 05:45:24 +0200
committerLorenz <lo.scherf@gmail.com>2022-08-22 05:45:24 +0200
commit7755f9d4bc5404b2e61dc5da8b6d390fadc93252 (patch)
treee6ece43f433e9fa2383ef20fc2f902b7ca4f8e72 /src/main/java
parent365bc501d60372ac95b77024254bf130a6d62470 (diff)
downloadskyhanni-7755f9d4bc5404b2e61dc5da8b6d390fadc93252.tar.gz
skyhanni-7755f9d4bc5404b2e61dc5da8b6d390fadc93252.tar.bz2
skyhanni-7755f9d4bc5404b2e61dc5da8b6d390fadc93252.zip
fix crash
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/items/ItemStars.kt4
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++
}