mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-05 03:17:12 +00:00
Reordered instructions
This commit is contained in:
parent
3606c392f2
commit
47c934cee2
@ -266,6 +266,8 @@ class Player{
|
||||
$this->directDataPacket(MC_DISCONNECT);
|
||||
$this->connected = false;
|
||||
$this->level->freeAllChunks($this);
|
||||
$this->spawned = false;
|
||||
$this->loggedIn = false;
|
||||
$this->buffer = null;
|
||||
unset($this->buffer);
|
||||
$this->recoveryQueue = array();
|
||||
@ -276,8 +278,6 @@ class Player{
|
||||
$this->server->api->chat->broadcast($this->username." left the game");
|
||||
}
|
||||
console("[INFO] \x1b[33m".$this->username."\x1b[0m[/".$this->ip.":".$this->port."] logged out due to ".$reason);
|
||||
$this->spawned = false;
|
||||
$this->loggedIn = false;
|
||||
$this->server->api->player->remove($this->CID);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user