mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-09 20:41:23 +01:00
Fix string match error on none existing user (/ban).
This commit is contained in:
parent
93db8bc7c1
commit
3a789bdcfe
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user