#423 Display first name gray also

This commit is contained in:
ljacqu 2016-06-13 20:45:56 +02:00
parent 209625ab00
commit 221ce13176

View File

@ -264,9 +264,9 @@ public class AsynchronousLogin implements AsynchronousProcess {
}
List<String> tmp = new ArrayList<String>();
for(String currentName : auths) {
for (String currentName : auths) {
Player currentPlayer = bukkitService.getPlayerExact(currentName);
if(currentPlayer != null && currentPlayer.isOnline()) {
if (currentPlayer != null && currentPlayer.isOnline()) {
tmp.add(ChatColor.GREEN + currentName);
} else {
tmp.add(currentName);
@ -274,9 +274,9 @@ public class AsynchronousLogin implements AsynchronousProcess {
}
auths = tmp;
String message = StringUtils.join(ChatColor.GRAY + ", ", auths) + ".";
String message = ChatColor.GRAY + StringUtils.join(ChatColor.GRAY + ", ", auths) + ".";
if(!service.getProperty(SecuritySettings.REMOVE_SPAM_FROM_CONSOLE)) {
if (!service.getProperty(SecuritySettings.REMOVE_SPAM_FROM_CONSOLE)) {
ConsoleLogger.info("The user " + player.getName() + " has " + auths.size() + " accounts:");
ConsoleLogger.info(message);
}