diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-12-01 19:22:42 -0500 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-12-01 19:22:42 -0500 |
commit | 425281727a291f36039b80acba12e3fd2304de1a (patch) | |
tree | 319382c233508762f23a8016021865f79854f728 /src/main/java/me/Danker/TheMod.java | |
parent | f3252519a51246acf181229d29da64858bbc5b13 (diff) | |
download | SkyblockMod-425281727a291f36039b80acba12e3fd2304de1a.tar.gz SkyblockMod-425281727a291f36039b80acba12e3fd2304de1a.tar.bz2 SkyblockMod-425281727a291f36039b80acba12e3fd2304de1a.zip |
Add ability to disable Implosion messages
Diffstat (limited to 'src/main/java/me/Danker/TheMod.java')
-rw-r--r-- | src/main/java/me/Danker/TheMod.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/TheMod.java b/src/main/java/me/Danker/TheMod.java index 2d5d48c..421bf03 100644 --- a/src/main/java/me/Danker/TheMod.java +++ b/src/main/java/me/Danker/TheMod.java @@ -513,6 +513,13 @@ public class TheMod event.setCanceled(true); return; } + + if (!ToggleCommand.implosionMessages) { + if (message.contains("Your Implosion hit ") || message.contains("There are blocks in the way")) { + event.setCanceled(true); + return; + } + } if (ToggleCommand.oruoToggled && Utils.inDungeons) { // Don't set every answer to wrong with this question |