mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Send the entire Buffer at disconnect
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user