aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-09 22:54:18 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-09 22:54:18 +0100
commit68908e24cc6b2739c34fc45c96284e7b2269407d (patch)
treeea55e246d27f5c98c4b58c0588e7f3c5468b3ce8 /src/main/java/at
parentc8cb6e0267c935cf4c74761d2254e7c12dbc7f68 (diff)
downloadskyhanni-68908e24cc6b2739c34fc45c96284e7b2269407d.tar.gz
skyhanni-68908e24cc6b2739c34fc45c96284e7b2269407d.tar.bz2
skyhanni-68908e24cc6b2739c34fc45c96284e7b2269407d.zip
Added more end related drop messages to chat filter.
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt7
1 files changed, 6 insertions, 1 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 545c5c17a..0a4334bce 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
@@ -103,7 +103,11 @@ class ChatFilter {
private fun uselessDrop(message: String): Boolean {
when {
+ // TODO check if this is still necessary
message.matchRegex("§6§lRARE DROP! §r§aEnchanted Ender Pearl (.*)") -> return true
+ message == "§6§lRARE DROP! §r§aEnchanted Ender Pearl" -> return true
+ message == "§6§lRARE DROP! §r§aEnchanted End Stone" -> return true
+ message == "§6§lRARE DROP! §r§5Crystal Fragment" -> return true
message.matchRegex("§6§lRARE DROP! §r§fCarrot (.*)") -> return true
message.matchRegex("§6§lRARE DROP! §r§fPotato (.*)") -> return true
@@ -175,7 +179,7 @@ class ChatFilter {
//Enderman
if (message.matchRegex("§b§lRARE DROP! §r§7\\(§r§f§r§7(.*)x §r§f§r§aTwilight Arrow Poison§r§7\\) (.*)")) return true
- if (message.matchRegex("§9§lVERY RARE DROP! §r§7\\(§r§fMana Steal I§r§7\\) (.*)")) return true
+ if (message.matchRegex("§5§lVERY RARE DROP! §r§7\\(§r§fMana Steal I§r§7\\) (.*)")) return true
if (message.matchRegex("§5§lVERY RARE DROP! §r§7\\(§r§f§r§5Sinful Dice§r§7\\) (.*)")) return true
if (message.matchRegex("§9§lVERY RARE DROP! §r§7\\(§r§f§r§9Null Atom§r§7\\) (.*)")) return true
if (message.matchRegex("§9§lVERY RARE DROP! §r§7\\(§r§f§r§5Transmission Tuner§r§7\\) (.*)")) return true
@@ -183,6 +187,7 @@ class ChatFilter {
if (message.matchRegex("§9§lVERY RARE DROP! §r§7\\(§r§f§r§5◆ Endersnake Rune I§r§7\\) (.*)")) return true
if (message.matchRegex("§d§lCRAZY RARE DROP! §r§7\\(§r§f§r§fPocket Espresso Machine§r§7\\) (.*)")) return true
if (message.matchRegex("§5§lVERY RARE DROP! §r§7\\(§r§f§r§5◆ End Rune I§r§7\\) (.*)")) return true
+ if (message.matchRegex("§5§lVERY RARE DROP! §r§7\\(§r§f§r§6Hazmat Enderman§r§7\\) .*")) return true
//Blaze
if (message.matchRegex("§9§lVERY RARE DROP! §r§7\\(§r§f§r§fWisp's Ice-Flavored Water I Splash Potion§r§7\\) (.*)")) return true