Chunk: Remove useless code in fastDeserialize()

This commit is contained in:
Dylan K. Taylor 2018-01-08 21:38:30 +00:00
parent b6811b643c
commit a0683dbb0f

View File

@ -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 = [];