diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-09 22:54:18 +0100 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-09 22:54:18 +0100 |
| commit | b5a44ec270fc10c4d74c0db9977ee0109d08134d (patch) | |
| tree | ea55e246d27f5c98c4b58c0588e7f3c5468b3ce8 | |
| parent | d1092c49f43860d37e53a5d1a84ee19b5f677797 (diff) | |
| download | SkyHanni-b5a44ec270fc10c4d74c0db9977ee0109d08134d.tar.gz SkyHanni-b5a44ec270fc10c4d74c0db9977ee0109d08134d.tar.bz2 SkyHanni-b5a44ec270fc10c4d74c0db9977ee0109d08134d.zip | |
Added more end related drop messages to chat filter.
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt | 7 |
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 |
