Initial spawn on 0.16

This commit is contained in:
Dylan K. Taylor
2016-10-04 12:29:26 +01:00
parent bb9ab525b6
commit dd0c5efb56
10 changed files with 239 additions and 117 deletions

View File

@ -1798,9 +1798,9 @@ class Server{
if(!$p->isEncoded){
$p->encode();
}
$str .= Binary::writeInt(strlen($p->buffer)) . $p->buffer;
$str .= Binary::writeUnsignedVarInt(strlen($p->buffer)) . $p->buffer;
}else{
$str .= Binary::writeInt(strlen($p)) . $p;
$str .= Binary::writeUnsignedVarInt(strlen($p)) . $p;
}
}