diff options
author | snowleo <schneeleo@gmail.com> | 2011-12-07 12:00:01 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-12-07 12:00:01 +0100 |
commit | 324cd748261cc53ce7a709674842c72530ea1d2b (patch) | |
tree | f5f1745e27d610133a3b6f8709d6041dad25add7 | |
parent | e7ebc94a9e29e3c4dca6a1d45647fbbde517f4ce (diff) | |
download | Essentials-324cd748261cc53ce7a709674842c72530ea1d2b.tar Essentials-324cd748261cc53ce7a709674842c72530ea1d2b.tar.gz Essentials-324cd748261cc53ce7a709674842c72530ea1d2b.tar.lz Essentials-324cd748261cc53ce7a709674842c72530ea1d2b.tar.xz Essentials-324cd748261cc53ce7a709674842c72530ea1d2b.zip |
Banned moved from /whois to /seen
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandseen.java | 4 | ||||
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandwhois.java | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandseen.java b/Essentials/src/com/earth2me/essentials/commands/Commandseen.java index 49e39876e..cf500e094 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandseen.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandseen.java @@ -34,6 +34,10 @@ public class Commandseen extends EssentialsCommand throw new Exception(_("playerNotFound")); } sender.sendMessage(_("seenOffline", u.getDisplayName(), Util.formatDateDiff(u.getLastLogout()))); + if (u.isBanned()) + { + sender.sendMessage(_("whoisBanned", _("true"))); + } } } } diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java b/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java index 80fe0bf8f..c5d10a2e8 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandwhois.java @@ -56,7 +56,6 @@ public class Commandwhois extends EssentialsCommand sender.sendMessage(_("whoisIs", user.getDisplayName(), user.getName())); sender.sendMessage(_("whoisHealth", user.getHealth())); sender.sendMessage(_("whoisOP", (user.isOp() ? _("true") : _("false")))); - sender.sendMessage(_("whoisBanned", (user.isBanned() ? _("true") : _("false")))); sender.sendMessage(_("whoisGod", (user.isGodModeEnabled() ? _("true") : _("false")))); sender.sendMessage(_("whoisGamemode", _(user.getGameMode().toString().toLowerCase(Locale.ENGLISH)))); sender.sendMessage(_("whoisLocation", user.getLocation().getWorld().getName(), user.getLocation().getBlockX(), user.getLocation().getBlockY(), user.getLocation().getBlockZ())); |