From 3a789bdcfe26c6dba4651a0f32138011fc4bd0b7 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Sat, 29 Dec 2012 02:00:48 +0000 Subject: Fix string match error on none existing user (/ban). --- Essentials/src/com/earth2me/essentials/commands/Commandban.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- cgit v1.2.3