mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-22 10:36:06 +01:00
Minor no player message colour change.
This commit is contained in:
parent
54a2e270a8
commit
fd10eec765
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user