Remove duplicate check for banned id (#792)
It already existed 2 if's up :)
This commit is contained in:
committed by
Anuken
parent
e372821cea
commit
ddf31e82f6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user