diff options
author | Cow <cow@volloeko.de> | 2022-10-14 15:14:44 +0200 |
---|---|---|
committer | Cow <cow@volloeko.de> | 2022-10-14 15:14:44 +0200 |
commit | 0e2e8859a2652a781a381267d9d327d29df92c68 (patch) | |
tree | 3f7651cb50895f4bbed6800b616d472c599343af /src/main/java | |
parent | 92333ea57caf08294a9d0049976c42fe07e4acbe (diff) | |
download | Cowlection-0e2e8859a2652a781a381267d9d327d29df92c68.tar.gz Cowlection-0e2e8859a2652a781a381267d9d327d29df92c68.tar.bz2 Cowlection-0e2e8859a2652a781a381267d9d327d29df92c68.zip |
Removed outdated hint
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/command/MooCommand.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/command/MooCommand.java b/src/main/java/de/cowtipper/cowlection/command/MooCommand.java index aa31166..1b554ed 100644 --- a/src/main/java/de/cowtipper/cowlection/command/MooCommand.java +++ b/src/main/java/de/cowtipper/cowlection/command/MooCommand.java @@ -237,12 +237,7 @@ public class MooCommand extends CommandBase { } else if (hyPlayerData.hasNeverJoinedHypixel()) { main.getChatHelper().sendMessage(EnumChatFormatting.YELLOW, EnumChatFormatting.GOLD + stalkedPlayer.getName() + EnumChatFormatting.YELLOW + " has " + EnumChatFormatting.GOLD + "never " + EnumChatFormatting.YELLOW + "been on Hypixel (or might be nicked)."); } else if (hyPlayerData.isHidingOnlineStatus()) { - main.getChatHelper().sendMessage(new ChatComponentText(hyPlayerData.getPlayerNameFormatted()).appendSibling(new ChatComponentText(" is hiding their online status from the Hypixel API. You can see their online status with ").setChatStyle(new ChatStyle().setColor(EnumChatFormatting.YELLOW))) - .appendSibling(new ChatComponentText("/profile " + hyPlayerData.getPlayerName()).setChatStyle(new ChatStyle() - .setColor(EnumChatFormatting.GOLD) - .setChatClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/profile " + hyPlayerData.getPlayerName())) - .setChatHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new ChatComponentText(EnumChatFormatting.YELLOW + "Run " + EnumChatFormatting.GOLD + "/profile " + hyPlayerData.getPlayerName()))))) - .appendSibling(new ChatComponentText(" while you're in a lobby (tooltip of the player head on the top left).").setChatStyle(new ChatStyle().setColor(EnumChatFormatting.YELLOW)))); + main.getChatHelper().sendMessage(new ChatComponentText(hyPlayerData.getPlayerNameFormatted()).appendSibling(new ChatComponentText(" is hiding their online status from the Hypixel API.").setChatStyle(new ChatStyle().setColor(EnumChatFormatting.YELLOW)))); } else if (hyPlayerData.hasNeverLoggedOut()) { Pair<String, String> lastOnline = Utils.getDurationAsWords(hyPlayerData.getLastLogin()); |