mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Initial spawn on 0.16
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user