mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
Fixed player count bug
This commit is contained in:
parent
fd5d981aa5
commit
4755dee47d
1 changed files with 1 additions and 1 deletions
|
|
@ -1034,7 +1034,7 @@ class Player{
|
||||||
if($this->loggedIn === true){
|
if($this->loggedIn === true){
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(count($this->server->clients) >= $this->server->maxClients){
|
if(count($this->server->clients) > $this->server->maxClients){
|
||||||
$this->close("server is full!", false);
|
$this->close("server is full!", false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue