mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Fixed player count bug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user