Location cleanup (#1380)

There's no sense rewriting code that the parent constructor already implements.
This commit is contained in:
David Schwartz 2017-09-12 07:18:35 -04:00 committed by Dylan K. Taylor
parent 130a60f2b2
commit 825d4f9702

View File

@ -41,12 +41,9 @@ class Location extends Position{
* @param Level $level
*/
public function __construct($x = 0, $y = 0, $z = 0, $yaw = 0.0, $pitch = 0.0, Level $level = null){
$this->x = $x;
$this->y = $y;
$this->z = $z;
$this->yaw = $yaw;
$this->pitch = $pitch;
$this->level = $level;
parent::__construct($x, $y, $z, $level);
}
/**