aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorCalMWolfs <cwolfson58@gmail.com>2023-06-20 07:41:25 +1000
committerCalMWolfs <cwolfson58@gmail.com>2023-06-20 07:41:25 +1000
commitbe16cc2145df374226bf0e83335ee500a7080f4d (patch)
treeabc0976a120aba0c4bcaad915cd13a04d706fb86 /src/main/java
parent4a12bbd0b780238557cdc2330cf6314015e0de07 (diff)
downloadskyhanni-be16cc2145df374226bf0e83335ee500a7080f4d.tar.gz
skyhanni-be16cc2145df374226bf0e83335ee500a7080f4d.tar.bz2
skyhanni-be16cc2145df374226bf0e83335ee500a7080f4d.zip
remove colour
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/FrozenTreasureTracker.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/FrozenTreasureTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/FrozenTreasureTracker.kt
index 93bab63e7..ea9583057 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/FrozenTreasureTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/FrozenTreasureTracker.kt
@@ -78,7 +78,7 @@ class FrozenTreasureTracker {
}
for (treasure in FrozenTreasure.values()) {
- if ("FROZEN TREASURE! You found ${treasure.displayName}!".toRegex().matches(message)) {
+ if ("FROZEN TREASURE! You found ${treasure.displayName.removeColor()}!".toRegex().matches(message)) {
val old = treasureCount[treasure] ?: 0
treasureCount = treasureCount.editCopy { this[treasure] = old + 1 }
saveAndUpdate()