mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 04:17:07 +00:00
Chunk: Remove useless code in fastDeserialize()
This commit is contained in:
parent
b6811b643c
commit
a0683dbb0f
@ -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 = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user