mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-19 09:06:09 +01:00
Better hide vanished players.
This commit is contained in:
parent
d0f3fb4417
commit
a3a3f81e11
@ -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")));
|
||||
|
Loading…
Reference in New Issue
Block a user