mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Fix NBT "getArray()" (#163)
This commit is contained in:
parent
544d99f161
commit
e790573f2e
@ -610,6 +610,7 @@ class NBT{
|
||||
public function getArray(){
|
||||
$data = [];
|
||||
self::toArray($data, $this->data);
|
||||
return $data;
|
||||
}
|
||||
|
||||
private static function toArray(array &$data, Tag $tag){
|
||||
@ -681,4 +682,4 @@ class NBT{
|
||||
$this->data = $data;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user