diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-03-21 15:50:35 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-03-21 15:50:35 +0000 |
commit | a1dffe534a0c65a2b5996a0ca37dc76571d26bed (patch) | |
tree | 95d2e1d1f50f983ccf471da985298d1affa27caa | |
parent | e93457a41f19a993e2efa2a19a83c0fd651b690b (diff) | |
download | Essentials-a1dffe534a0c65a2b5996a0ca37dc76571d26bed.tar Essentials-a1dffe534a0c65a2b5996a0ca37dc76571d26bed.tar.gz Essentials-a1dffe534a0c65a2b5996a0ca37dc76571d26bed.tar.lz Essentials-a1dffe534a0c65a2b5996a0ca37dc76571d26bed.tar.xz Essentials-a1dffe534a0c65a2b5996a0ca37dc76571d26bed.zip |
[2.1] Adding world name to location of whois
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@997 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandwhois.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java b/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java index d055073a6..17a2c57b1 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java @@ -34,7 +34,7 @@ public class Commandwhois extends EssentialsCommand sender.sendMessage(""); sender.sendMessage(u.getDisplayName() + " is " + u.getName()); sender.sendMessage(ChatColor.BLUE + " - Health: " + u.getHealth() + "/20"); - sender.sendMessage(ChatColor.BLUE + " - Location: (" + u.getLocation().getBlockX() + ", " + u.getLocation().getBlockY() + ", " + u.getLocation().getBlockZ() + ")"); + sender.sendMessage(ChatColor.BLUE + " - Location: (" + u.getLocation().getWorld().getName() + ", " + u.getLocation().getBlockX() + ", " + u.getLocation().getBlockY() + ", " + u.getLocation().getBlockZ() + ")"); if (!parent.getConfiguration().getBoolean("disable-eco", false)) sender.sendMessage(ChatColor.BLUE + " - Money: $" + u.getMoney()); sender.sendMessage(ChatColor.BLUE + " - Status: " + (parent.away.contains(u) ? "§cAway§f" : "Available")); sender.sendMessage(ChatColor.BLUE + " - IP Address: " + u.getAddress().getAddress().toString()); |