mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-19 15:35:52 +00:00
Updated NBT/DataPacket reading
This commit is contained in:
parent
82cfe6ea9c
commit
094b600a0c
@ -72,7 +72,7 @@ class NBT{
|
||||
public $endianness;
|
||||
private $data;
|
||||
|
||||
protected function get($len){
|
||||
public function get($len){
|
||||
if($len < 0){
|
||||
$this->offset = strlen($this->buffer) - 1;
|
||||
return "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user