mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed a mistake in metadata decoder
This commit is contained in:
@ -149,7 +149,7 @@ abstract class DataPacket extends BinaryStream{
|
|||||||
$value = [];
|
$value = [];
|
||||||
}
|
}
|
||||||
if($types === true){
|
if($types === true){
|
||||||
$data[$key] = [$value, $type];
|
$data[$key] = [$type, $value];
|
||||||
}else{
|
}else{
|
||||||
$data[$key] = $value;
|
$data[$key] = $value;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user