Fixed AddMobPacket's Type - (is now int)

Thanks @Intyre!
This commit is contained in:
KnownUnown 2014-08-12 12:31:07 -05:00
parent 0c5f920dfd
commit 58d7599d6f

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