mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Send the entire Buffer at disconnect
This commit is contained in:
parent
fe2b9a6ac5
commit
58631ba1d0
1 changed files with 1 additions and 0 deletions
|
|
@ -206,6 +206,7 @@ class Player{
|
||||||
"status" => 1,
|
"status" => 1,
|
||||||
));
|
));
|
||||||
$this->dataPacket(MC_DISCONNECT);
|
$this->dataPacket(MC_DISCONNECT);
|
||||||
|
$this->sendBuffer();
|
||||||
$this->buffer = null;
|
$this->buffer = null;
|
||||||
unset($this->buffer);
|
unset($this->buffer);
|
||||||
$this->recovery = null;
|
$this->recovery = null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue