aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorLuna <me@lunya.dev>2024-10-30 00:07:17 +0100
committerGitHub <noreply@github.com>2024-10-30 10:07:17 +1100
commit79adf7aa070fbfaa23241c9b5b8495628650ef68 (patch)
treec25a58e603402368de5e0e81b5e59d6d70fcdb60 /src/main/java
parent3f4bdbab85ba6b54a54b99b23e176d52910c8d66 (diff)
downloadSkyHanni-79adf7aa070fbfaa23241c9b5b8495628650ef68.tar.gz
SkyHanni-79adf7aa070fbfaa23241c9b5b8495628650ef68.tar.bz2
SkyHanni-79adf7aa070fbfaa23241c9b5b8495628650ef68.zip
Fix: Another kick message (#2861)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/SkyBlockKickDuration.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/SkyBlockKickDuration.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/SkyBlockKickDuration.kt
index 89f80fb73..86f860d81 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/SkyBlockKickDuration.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/SkyBlockKickDuration.kt
@@ -31,10 +31,12 @@ object SkyBlockKickDuration {
/**
* REGEX-TEST: §cYou were kicked while joining that server!
* REGEX-TEST: §cA kick occurred in your connection, so you were put in the SkyBlock lobby!
+ * REGEX-TEST: §cAn exception occurred in your connection, so you were put in the SkyBlock Lobby!
*/
+ @Suppress("MaxLineLength")
private val kickPattern by patternGroup.pattern(
"kicked",
- "§c(?:You were kicked while joining that server!|A kick occurred in your connection, so you were put in the SkyBlock lobby!)",
+ "§c(?:You were kicked while joining that server!|An? (?:kick|exception) occurred in your connection, so you were put in the SkyBlock [lL]obby!)",
)
/**