Fixed a mistake in metadata decoder

This commit is contained in:
Dylan K. Taylor 2017-05-27 14:18:40 +01:00
parent 954271b90f
commit 57379b93ce

View File

@ -149,7 +149,7 @@ abstract class DataPacket extends BinaryStream{
$value = [];
}
if($types === true){
$data[$key] = [$value, $type];
$data[$key] = [$type, $value];
}else{
$data[$key] = $value;
}