mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-22 19:06:35 +00:00
Send the entire Buffer at disconnect
This commit is contained in:
parent
fe2b9a6ac5
commit
58631ba1d0
@ -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…
x
Reference in New Issue
Block a user