mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Bump to 0.14.0.7, new packets and fixes
This commit is contained in:
@ -206,7 +206,7 @@ class BinaryStream extends \stdClass{
|
||||
|
||||
$data = $this->getShort();
|
||||
|
||||
$nbtLen = $this->getShort();
|
||||
$nbtLen = $this->getLShort();
|
||||
|
||||
$nbt = "";
|
||||
|
||||
@ -232,7 +232,7 @@ class BinaryStream extends \stdClass{
|
||||
$this->putByte($item->getCount());
|
||||
$this->putShort($item->getDamage() === null ? -1 : $item->getDamage());
|
||||
$nbt = $item->getCompoundTag();
|
||||
$this->putShort(strlen($nbt));
|
||||
$this->putLShort(strlen($nbt));
|
||||
$this->put($nbt);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user