mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Added support for extra data, improved BinaryStream
This commit is contained in:
@ -48,7 +48,7 @@ abstract class DataPacket extends BinaryStream{
|
||||
|
||||
abstract public function decode();
|
||||
|
||||
protected function reset(){
|
||||
public function reset(){
|
||||
$this->buffer = chr($this::NETWORK_ID);
|
||||
$this->offset = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user