From 94e207333d6738d4b19eed60f39d7ec0ae70cbe8 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Sun, 24 Mar 2024 00:31:36 +0100 Subject: Fix: Event level up chat filter (#1250) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni') 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!", -- cgit