Buffered block changes and sending big changes with Chunk Packets

This commit is contained in:
Shoghi Cervantes Pueyo 2013-05-19 19:27:55 +02:00
parent 10ed95a469
commit 68855bdd4f
4 changed files with 68 additions and 23 deletions

View file

@ -52,6 +52,9 @@ class CustomPacketHandler{
$this->data = $data;
$this->offset = 0;
$this->c = (bool) $create;
if($pid === false){
return;
}
switch($pid){
case MC_PING:
if($this->c === false){