mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
Chunk: Remove useless code in fastDeserialize()
This commit is contained in:
@ -968,9 +968,8 @@ class Chunk{
|
||||
* @return Chunk
|
||||
*/
|
||||
public static function fastDeserialize(string $data) : Chunk{
|
||||
$stream = new BinaryStream();
|
||||
$stream->setBuffer($data);
|
||||
$data = null;
|
||||
$stream = new BinaryStream($data);
|
||||
|
||||
$x = $stream->getInt();
|
||||
$z = $stream->getInt();
|
||||
$subChunks = [];
|
||||
|
Reference in New Issue
Block a user