Fix /seen command

This commit is contained in:
snowleo 2013-02-08 22:26:21 +01:00
parent 5b975672e8
commit 3f31dc179b
3 changed files with 24 additions and 1 deletions

View file

@ -75,7 +75,7 @@ public class Commandseen extends EssentialsCommand
if (extra)
{
sender.sendMessage(_("whoisIPAddress", player.getLastLoginAddress()));
final Location loc = player.getLastLocation();
final Location loc = player.getLogoutLocation();
if (loc != null)
{
sender.sendMessage(_("whoisLocation", loc.getWorld().getName(), loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()));