mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
Decreased chunk ordering times
This commit is contained in:
@@ -36,7 +36,8 @@ abstract class DataPacket extends \stdClass{
|
||||
abstract public function decode();
|
||||
|
||||
protected function reset(){
|
||||
$this->setBuffer(chr($this->pid()));
|
||||
$this->buffer = chr($this->pid());
|
||||
$this->offset = 0;
|
||||
}
|
||||
|
||||
public function setBuffer($buffer = ""){
|
||||
|
Reference in New Issue
Block a user