Remove duplicate check for banned id (#792)

It already existed 2 if's up :)
This commit is contained in:
Patrick 'Quezler' Mounier
2019-10-07 15:59:47 +02:00
committed by Anuken
parent e372821cea
commit ddf31e82f6

View File

@@ -94,11 +94,6 @@ public class NetServer implements ApplicationListener{
return;
}
if(admins.isIDBanned(uuid)){
con.kick(KickReason.banned);
return;
}
if(admins.getPlayerLimit() > 0 && playerGroup.size() >= admins.getPlayerLimit()){
con.kick(KickReason.playerLimit);
return;