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 | d29b9ea5f88ec111101c87ebb78c03fb7ed1e55d (patch) | |
tree | 258ab6f4e6c6d2337c5bb524269d3b930a8c7bd1 | |
parent | 6cc5111ce0e9ffbc10b2800a40f8ce341d1574d5 (diff) | |
download | Essentials-d29b9ea5f88ec111101c87ebb78c03fb7ed1e55d.tar Essentials-d29b9ea5f88ec111101c87ebb78c03fb7ed1e55d.tar.gz Essentials-d29b9ea5f88ec111101c87ebb78c03fb7ed1e55d.tar.lz Essentials-d29b9ea5f88ec111101c87ebb78c03fb7ed1e55d.tar.xz Essentials-d29b9ea5f88ec111101c87ebb78c03fb7ed1e55d.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()) |