Bump to 0.14.0.7, new packets and fixes

This commit is contained in:
Intyre
2016-02-16 00:43:59 +01:00
parent 1082e32fd7
commit 05530bedc6
4 changed files with 8 additions and 6 deletions

View File

@ -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);
}