summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-12-07 12:00:01 +0100
committersnowleo <schneeleo@gmail.com>2011-12-07 12:00:01 +0100
commit348244f26e1fbcba07c1fd9ec02cbca3945b3a92 (patch)
tree0ccaaeb15aa99a5bd92b9a271f79bb125a9d5a68
parent257f3c9687c5d911de393e94b34a247f96d362a9 (diff)
downloadEssentials-348244f26e1fbcba07c1fd9ec02cbca3945b3a92.tar
Essentials-348244f26e1fbcba07c1fd9ec02cbca3945b3a92.tar.gz
Essentials-348244f26e1fbcba07c1fd9ec02cbca3945b3a92.tar.lz
Essentials-348244f26e1fbcba07c1fd9ec02cbca3945b3a92.tar.xz
Essentials-348244f26e1fbcba07c1fd9ec02cbca3945b3a92.zip
Banned moved from /whois to /seen
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandseen.java4
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandwhois.java1
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()));