From fd10eec765c6b9d21bec333baa36285b15d20586 Mon Sep 17 00:00:00 2001 From: benwoo1110 <30431861+benwoo1110@users.noreply.github.com> Date: Sat, 2 Jan 2021 21:09:48 +0800 Subject: [PATCH] Minor no player message colour change. --- .../onarandombox/MultiverseCore/commands/WhoCommand.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/onarandombox/MultiverseCore/commands/WhoCommand.java b/src/main/java/com/onarandombox/MultiverseCore/commands/WhoCommand.java index 2ec3a1ce..3509e05f 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/commands/WhoCommand.java +++ b/src/main/java/com/onarandombox/MultiverseCore/commands/WhoCommand.java @@ -102,7 +102,7 @@ public class WhoCommand extends MultiverseCommand { .collect(Collectors.toList()); if (players.isEmpty()) { - players.add("No players found."); + players.add(String.format("%sNo players found.", ChatColor.GRAY)); } return players; @@ -127,6 +127,8 @@ public class WhoCommand extends MultiverseCommand { .map(Player::getDisplayName) .collect(Collectors.joining(", ")); - return (playersInWorld.isEmpty()) ? "No players found." : playersInWorld; + return (playersInWorld.isEmpty()) + ? String.format("%sNo players found.", ChatColor.GRAY) + : playersInWorld; } }