task tempt rework(should give a huge tps bump with a larg amount of entities), small stoptime fix

This commit is contained in:
GameHerobrine 2023-02-11 21:06:30 +03:00
parent 159d49ebf3
commit 4f9764dee3
6 changed files with 21 additions and 21 deletions

View file

@ -1167,6 +1167,7 @@ class Player{
$this->resendQueue = [];
$this->ackQueue = [];
$this->server->api->player->remove($this->CID);
console($msg.":".$this->username.":".$this->spawned);
if($msg === true and $this->username != "" and $this->spawned !== false){
$this->server->api->chat->broadcast($this->username . " left the game: " . $reason);
}