Minor ban fix

This commit is contained in:
Anuken
2018-08-17 14:09:31 -04:00
parent 25bd8a7eaa
commit fb8becca99

View File

@ -405,7 +405,6 @@ public class ServerControl extends Module{
for(Player player : playerGroup.all()){
if(player.name.equalsIgnoreCase(arg[0])){
target = player;
break;
}
}
@ -457,7 +456,6 @@ public class ServerControl extends Module{
if(player.con.address != null &&
player.con.address.equals(arg[0])){
netServer.kick(player.con.id, KickReason.banned);
break;
}
}
}else{
@ -472,7 +470,6 @@ public class ServerControl extends Module{
for(Player player : playerGroup.all()){
if(player.uuid.equals(arg[0])){
netServer.kick(player.con.id, KickReason.banned);
break;
}
}
}else{