mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
again.....
This commit is contained in:
parent
6eae784e9e
commit
dfa5d939f2
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,6 @@ class Player{
|
|||
$this->directDataPacket(new DisconnectPacket);
|
||||
$this->connected = false;
|
||||
$this->level->freeAllChunks($this);
|
||||
$this->spawned = false;
|
||||
$this->loggedIn = false;
|
||||
$this->buffer = null;
|
||||
unset($this->buffer);
|
||||
|
|
@ -306,6 +305,7 @@ class Player{
|
|||
if($msg === true and $this->username != "" and $this->spawned !== false){
|
||||
$this->server->api->chat->broadcast($this->username." left the game");
|
||||
}
|
||||
$this->spawned = false;
|
||||
console("[INFO] ".FORMAT_AQUA.$this->username.FORMAT_RESET."[/".$this->ip.":".$this->port."] logged out due to ".$reason);
|
||||
$this->windows = array();
|
||||
$this->armor = array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue