From 368750924aeeecab21e79babb26dc4cc83389a3c Mon Sep 17 00:00:00 2001 From: Cow Date: Sun, 23 Oct 2022 17:40:48 +0200 Subject: Changed player online status messages --- src/main/java/de/cowtipper/cowlection/command/MooCommand.java | 3 ++- src/main/java/de/cowtipper/cowlection/data/HyStalkingData.java | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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": -- cgit