diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-03-24 00:31:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-24 00:31:36 +0100 |
commit | 94e207333d6738d4b19eed60f39d7ec0ae70cbe8 (patch) | |
tree | 36ac6b86001a6101d2f7cf31d69112e849284fde /src/main/java/at/hannibal2/skyhanni | |
parent | 44014aa68a8c672c779f38202a215ab1e8dcd8c5 (diff) | |
download | skyhanni-94e207333d6738d4b19eed60f39d7ec0ae70cbe8.tar.gz skyhanni-94e207333d6738d4b19eed60f39d7ec0ae70cbe8.tar.bz2 skyhanni-94e207333d6738d4b19eed60f39d7ec0ae70cbe8.zip |
Fix: Event level up chat filter (#1250)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt index c0764c247..a09a8d6f7 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt @@ -7,8 +7,6 @@ import at.hannibal2.skyhanni.features.garden.GardenAPI import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.StringUtils import at.hannibal2.skyhanni.utils.StringUtils.matches -import at.hannibal2.skyhanni.utils.StringUtils.removeColor -import at.hannibal2.skyhanni.utils.StringUtils.trimWhiteSpaceAndResets import at.hannibal2.skyhanni.utils.repopatterns.RepoPattern import net.minecraftforge.fml.common.eventhandler.SubscribeEvent import java.util.regex.Pattern @@ -345,9 +343,9 @@ class ChatFilter { "§c {3}♨ §eAnd \\d+ more!".toPattern(), ) private val eventPatterns = listOf( - "§r§7You are now §r§.Event Level §r§.*§r§7!".toPattern(), - "§r§7You earned §r§.* Event Silver§r§7!".toPattern(), - "§r§.§k#§r§. LEVEL UP! §r§.§k#".toPattern(), + "§f +§r§7You are now §r§.Event Level §r§.*§r§7!".toPattern(), + "§f +§r§7You earned §r§.* Event Silver§r§7!".toPattern(), + "§f +§r§.§k#§r§. LEVEL UP! §r§.§k#".toPattern(), ) private val powderMiningMessages = listOf( "§aYou uncovered a treasure chest!", |