mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-23 18:55:11 +01:00
#423 Display first name gray also
This commit is contained in:
parent
209625ab00
commit
221ce13176
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user