Fix plugin metadata crashes

This commit is contained in:
Dylan K. Taylor 2016-10-29 17:56:34 +01:00
parent 293af3d55d
commit 656ec60805
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ class AddEntityPacket extends DataPacket{
public $yaw;
public $pitch;
public $modifiers;
public $metadata;
public $metadata = [];
public $links = [];
public function decode(){

View File

@ -43,7 +43,7 @@ class AddPlayerPacket extends DataPacket{
public $pitch;
public $yaw;
public $item;
public $metadata;
public $metadata = [];
public function decode(){