mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-06 20:43:11 +00:00
Fix /seen command
This commit is contained in:
parent
5b975672e8
commit
3f31dc179b
3 changed files with 24 additions and 1 deletions
|
@ -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()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue