Fix string match error on none existing user (/ban).

This commit is contained in:
KHobbits 2012-12-29 02:00:48 +00:00
parent 93db8bc7c1
commit 3a789bdcfe

View File

@ -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())