aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/features
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2021-03-10 09:54:23 -0500
committerbowser0000 <bowser0000@gmail.com>2021-03-10 09:54:23 -0500
commit5a86451ed34e7d5c9baf20a4c9f4678ecc55fae1 (patch)
treeefaefc235327b48bf6dff90056a0dfa5394587bc /src/main/java/me/Danker/features
parent78faba8a68b01ca28744402a0f13e086220dfd1a (diff)
downloadSkyblockMod-5a86451ed34e7d5c9baf20a4c9f4678ecc55fae1.tar.gz
SkyblockMod-5a86451ed34e7d5c9baf20a4c9f4678ecc55fae1.tar.bz2
SkyblockMod-5a86451ed34e7d5c9baf20a4c9f4678ecc55fae1.zip
Hide kill combo messages
Diffstat (limited to 'src/main/java/me/Danker/features')
-rw-r--r--src/main/java/me/Danker/features/SpamHider.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/features/SpamHider.java b/src/main/java/me/Danker/features/SpamHider.java
index 4b22f61..a88d9e5 100644
--- a/src/main/java/me/Danker/features/SpamHider.java
+++ b/src/main/java/me/Danker/features/SpamHider.java
@@ -44,6 +44,13 @@ public class SpamHider {
if (!ToggleCommand.implosionMessages) {
if (message.contains("Your Implosion hit ") || message.contains("There are blocks in the way")) {
event.setCanceled(true);
+ return;
+ }
+ }
+ // Kill Combo
+ if (!ToggleCommand.killComboMessages) {
+ if ((message.contains("+") && message.contains(" Kill Combo ")) || message.contains("Your Kill Combo has expired!")) {
+ event.setCanceled(true);
}
}
}