mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 17:29:44 +00:00
Fixed a mistake in metadata decoder
This commit is contained in:
parent
954271b90f
commit
57379b93ce
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user