Merge pull request #1875 from KnownUnown/patch-1

Fixed AddMobPacket's Type - (is now int)
This commit is contained in:
Intyre 2014-08-12 19:34:42 +02:00
commit 5ec6ccefda

View File

@ -45,12 +45,12 @@ class AddMobPacket extends DataPacket{
$this->reset();
$this->putInt($this->eid);
$this->putInt($this->type);
$this->putFloat($this->x);
$this->putFloat($this->y);
$this->putFloat($this->z);
$this->putInt($this->x);
$this->putInt($this->y);
$this->putInt($this->z);
$this->putByte(floor($this->yaw * (256 / 360)));
$this->putByte(floor($this->pitch * (256 / 360)));
$this->put(Binary::writeMetadata($this->metadata));
}
}
}