mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-06 11:00:43 +01:00
Typo
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1255 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
00425eee73
commit
e08bba4db3
@ -28,14 +28,14 @@ public class Commandban extends EssentialsCommand
|
||||
if (server.matchPlayer(args[0]).isEmpty())
|
||||
{
|
||||
((CraftServer)server).getHandle().a(args[0]);
|
||||
sender.sendMessage("§cPlayer" + args[0] + " banned");
|
||||
sender.sendMessage("§cPlayer " + args[0] + " banned");
|
||||
}
|
||||
else
|
||||
{
|
||||
p = User.get(server.matchPlayer(args[0]).get(0));
|
||||
p.kickPlayer(args.length > 1 ? getFinalArg(args, 1) : "Banned from server");
|
||||
((CraftServer)server).getHandle().a(p.getName());
|
||||
sender.sendMessage("§cPlayer" + p.getName() + " banned");
|
||||
sender.sendMessage("§cPlayer " + p.getName() + " banned");
|
||||
}
|
||||
Essentials.getStatic().loadBanList();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user