summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/chat
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-26 13:15:21 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-26 13:15:21 +0100
commitd8c8b1c04b8f712af4cb4d2ee73cbd753f04f822 (patch)
tree70c4ed94a2ef4d1b8c80ce55cf491fdd6c77db0d /src/main/java/at/hannibal2/skyhanni/features/chat
parent9b2bd016410a30ffc370cc9990ff9244292380b9 (diff)
downloadskyhanni-d8c8b1c04b8f712af4cb4d2ee73cbd753f04f822.tar.gz
skyhanni-d8c8b1c04b8f712af4cb4d2ee73cbd753f04f822.tar.bz2
skyhanni-d8c8b1c04b8f712af4cb4d2ee73cbd753f04f822.zip
Moved matchRegex from LorenzUtils to StringUtils.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/chat')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt4
1 files changed, 2 insertions, 2 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 31929ed23..a3289c9e1 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
@@ -3,7 +3,7 @@ package at.hannibal2.skyhanni.features.chat
import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.events.LorenzChatEvent
import at.hannibal2.skyhanni.utils.LorenzUtils
-import at.hannibal2.skyhanni.utils.LorenzUtils.matchRegex
+import at.hannibal2.skyhanni.utils.StringUtils.matchRegex
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
class ChatFilter {
@@ -288,7 +288,7 @@ class ChatFilter {
}
private fun isGuildExp(message: String) =
- // §aYou earned §r§22 GEXP §r§afrom playing SkyBlock!
+ // §aYou earned §r§22 GEXP §r§afrom playing SkyBlock!
// §aYou earned §r§22 GEXP §r§a+ §r§c210 Event EXP §r§afrom playing SkyBlock!
message.matchRegex("§aYou earned §r§2.* GEXP (§r§a\\+ §r§.* Event EXP )?§r§afrom playing SkyBlock!")