Fixed player count bug

This commit is contained in:
Shoghi Cervantes 2013-07-23 17:33:37 +02:00
parent fd5d981aa5
commit 4755dee47d

View File

@ -1034,7 +1034,7 @@ class Player{
if($this->loggedIn === true){
break;
}
if(count($this->server->clients) >= $this->server->maxClients){
if(count($this->server->clients) > $this->server->maxClients){
$this->close("server is full!", false);
return;
}