summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-12-29 02:00:48 +0000
committerKHobbits <rob@khobbits.co.uk>2012-12-29 02:00:48 +0000
commit3a789bdcfe26c6dba4651a0f32138011fc4bd0b7 (patch)
treeb41ffbe167b0d529adaf60d2feaebd61b017aacb
parent93db8bc7c1590f6cc7269bee07ff3da58da27365 (diff)
downloadEssentials-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.java2
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())