From be16cc2145df374226bf0e83335ee500a7080f4d Mon Sep 17 00:00:00 2001 From: CalMWolfs Date: Tue, 20 Jun 2023 07:41:25 +1000 Subject: remove colour --- .../java/at/hannibal2/skyhanni/features/misc/FrozenTreasureTracker.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') 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() -- cgit