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 | |
parent | c091d26e534ab51a3d4f2ed3c4f285f4c318aeee (diff) | |
download | Cowlection-368750924aeeecab21e79babb26dc4cc83389a3c.tar.gz Cowlection-368750924aeeecab21e79babb26dc4cc83389a3c.tar.bz2 Cowlection-368750924aeeecab21e79babb26dc4cc83389a3c.zip |
Changed player online status messages
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/command/MooCommand.java | 3 | ||||
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/data/HyStalkingData.java | 2 |
2 files changed, 4 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 { diff --git a/src/main/java/de/cowtipper/cowlection/data/HyStalkingData.java b/src/main/java/de/cowtipper/cowlection/data/HyStalkingData.java index d6d7fb2..5233917 100644 --- a/src/main/java/de/cowtipper/cowlection/data/HyStalkingData.java +++ b/src/main/java/de/cowtipper/cowlection/data/HyStalkingData.java @@ -105,6 +105,8 @@ public class HyStalkingData { return "The Farming Islands"; case "foraging_1": return "Floating Islands"; + case "instanced": + return "an instanced area"; case "mining_1": return "Gold Mine"; case "mining_2": |