diff options
author | flame-cat <kaldraganov05@gmail.com> | 2020-12-23 17:13:20 -0500 |
---|---|---|
committer | flame-cat <kaldraganov05@gmail.com> | 2020-12-23 17:13:20 -0500 |
commit | 822bccd3221eab32a4bdd5c1e800ba37c262d44f (patch) | |
tree | 097d4a2af446a01b1e5c6cb1298c1c13a7949d43 /src | |
parent | 25dd122d60da623fb79073c7d3f9cabf178b7cc3 (diff) | |
download | SkyblockMod-822bccd3221eab32a4bdd5c1e800ba37c262d44f.tar.gz SkyblockMod-822bccd3221eab32a4bdd5c1e800ba37c262d44f.tar.bz2 SkyblockMod-822bccd3221eab32a4bdd5c1e800ba37c262d44f.zip |
Remove Msgs From Auto Skill Tracker
Remove the chat messages when the skill tracker automatically starts/stops. If they're using the feature, they'll have the tracker shown anyway
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/me/Danker/DankersSkyblockMod.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java index d239e3e..a6cc772 100644 --- a/src/main/java/me/Danker/DankersSkyblockMod.java +++ b/src/main/java/me/Danker/DankersSkyblockMod.java @@ -382,6 +382,9 @@ public class DankersSkyblockMod else if (leader.matches() && !(leader.group(1).equals(player.getName()))) { player.addChatMessage(new ChatComponentText(DankersSkyblockMod.ERROR_COLOUR + "You are not party leader.")); } + else if (message.Contains("Couldn't find a player") || message.Contains("cannot invite that player")) { + + } else { while (members.find()) { String partyMember = members.group(1); @@ -407,10 +410,8 @@ public class DankersSkyblockMod if (ToggleCommand.autoSkillTrackerToggled && System.currentTimeMillis() / 1000 - timeSinceGained <= 2) { if (skillStopwatch.isStarted() && skillStopwatch.isSuspended()) { skillStopwatch.resume(); - player.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Skill tracker started.")); } else if (!skillStopwatch.isStarted()) { skillStopwatch.start(); - player.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Skill tracker started.")); } } timeSinceGained = System.currentTimeMillis() / 1000; @@ -3292,7 +3293,6 @@ public class DankersSkyblockMod if (ToggleCommand.autoSkillTrackerToggled) { if (skillStopwatch.isStarted() && !skillStopwatch.isSuspended()) { skillStopwatch.suspend(); - mc.thePlayer.addChatMessage(new ChatComponentText(DankersSkyblockMod.MAIN_COLOUR + "Skill tracker paused.")); } } |