Better hide vanished players.

This commit is contained in:
KHobbits 2012-04-03 16:12:49 +01:00
parent d0f3fb4417
commit a3a3f81e11

View File

@ -46,7 +46,7 @@ public class Commandseen extends EssentialsCommand
throw new Exception(_("playerNotFound"));
}
player.setDisplayNick();
sender.sendMessage(_("seenOffline", player.getDisplayName(), Util.formatDateDiff(player.getLastLogout())));
sender.sendMessage(_("seenOffline", player.getName(), Util.formatDateDiff(player.getLastLogout())));
if (player.isBanned())
{
sender.sendMessage(_("whoisBanned", show ? player.getBanReason() : _("true")));