mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 11:16:57 +00:00
Moved runtime_block_states to vanilla
This commit is contained in:
@ -316,16 +316,8 @@ class StartGamePacket extends DataPacket{
|
||||
$states->push($state);
|
||||
}
|
||||
($stream = new NetworkLittleEndianNBTStream())->writeTag($states);
|
||||
return $stream->buffer;
|
||||
|
||||
/*$stream = new NetworkBinaryStream();
|
||||
$stream->putUnsignedVarInt(count($table));
|
||||
foreach($table as $v){
|
||||
$stream->putString($v["name"]);
|
||||
$stream->putLShort($v["data"]);
|
||||
$stream->putLShort($v["legacy_id"]);
|
||||
}
|
||||
return $stream->getBuffer();*/
|
||||
return $stream->buffer;
|
||||
}
|
||||
|
||||
private static function serializeItemTable(array $table) : string{
|
||||
|
Reference in New Issue
Block a user