diff options
author | Cow <cow@volloeko.de> | 2022-10-23 17:40:48 +0200 |
---|---|---|
committer | Cow <cow@volloeko.de> | 2022-10-23 17:40:48 +0200 |
commit | 368750924aeeecab21e79babb26dc4cc83389a3c (patch) | |
tree | 636b36610ddd952e72b259e24f3c17f51e540544 /src/main/java/de/cowtipper/cowlection/command/MooCommand.java | |
parent | c091d26e534ab51a3d4f2ed3c4f285f4c318aeee (diff) | |
download | Cowlection-368750924aeeecab21e79babb26dc4cc83389a3c.tar.gz Cowlection-368750924aeeecab21e79babb26dc4cc83389a3c.tar.bz2 Cowlection-368750924aeeecab21e79babb26dc4cc83389a3c.zip |
Changed player online status messages
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/command/MooCommand.java')
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/command/MooCommand.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/command/MooCommand.java b/src/main/java/de/cowtipper/cowlection/command/MooCommand.java index 3d48926..13db747 100644 --- a/src/main/java/de/cowtipper/cowlection/command/MooCommand.java +++ b/src/main/java/de/cowtipper/cowlection/command/MooCommand.java @@ -228,7 +228,8 @@ public class MooCommand extends CommandBase { if (hyStalking != null && hyStalking.isSuccess()) { HyStalkingData.HySession session = hyStalking.getSession(); if (session.isOnline()) { - main.getChatHelper().sendMessage(EnumChatFormatting.YELLOW, EnumChatFormatting.GOLD + stalkedPlayer.getName() + EnumChatFormatting.YELLOW + " is currently playing " + EnumChatFormatting.GOLD + session.getGameType() + EnumChatFormatting.YELLOW + main.getChatHelper().sendMessage(EnumChatFormatting.YELLOW, EnumChatFormatting.GOLD + stalkedPlayer.getName() + + EnumChatFormatting.YELLOW + " is currently playing " + EnumChatFormatting.GOLD + (session.getGameType() != null ? session.getGameType() : EnumChatFormatting.ITALIC + "something (but hiding their game mode)") + EnumChatFormatting.YELLOW + (session.getMode() != null ? ": " + EnumChatFormatting.GOLD + session.getMode() : "") + (session.getMap() != null ? EnumChatFormatting.YELLOW + " (Map: " + EnumChatFormatting.GOLD + session.getMap() + EnumChatFormatting.YELLOW + ")" : "")); } else { |