diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-12-29 02:00:48 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-12-29 02:00:48 +0000 |
commit | 3a789bdcfe26c6dba4651a0f32138011fc4bd0b7 (patch) | |
tree | b41ffbe167b0d529adaf60d2feaebd61b017aacb | |
parent | 93db8bc7c1590f6cc7269bee07ff3da58da27365 (diff) | |
download | Essentials-3a789bdcfe26c6dba4651a0f32138011fc4bd0b7.tar Essentials-3a789bdcfe26c6dba4651a0f32138011fc4bd0b7.tar.gz Essentials-3a789bdcfe26c6dba4651a0f32138011fc4bd0b7.tar.lz Essentials-3a789bdcfe26c6dba4651a0f32138011fc4bd0b7.tar.xz Essentials-3a789bdcfe26c6dba4651a0f32138011fc4bd0b7.zip |
Fix string match error on none existing user (/ban).
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandban.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandban.java b/Essentials/src/com/earth2me/essentials/commands/Commandban.java index 3c31469e3..776f4ab55 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandban.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandban.java @@ -71,7 +71,7 @@ public class Commandban extends EssentialsCommand server.getLogger().log(Level.INFO, _("playerBanned", senderName, user.getName(), banReason)); if (nomatch) { - sender.sendMessage(_("userUnknown", user.getName())); + sender.sendMessage(_("userUnknown", args[0])); } for (Player onlinePlayer : server.getOnlinePlayers()) |