mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 00:25:04 +00:00
Location: add missing return types for getYaw() and getPitch()
This commit is contained in:
@ -67,10 +67,16 @@ class Location extends Position{
|
|||||||
return new Location($this->x, $this->y, $this->z, $this->yaw, $this->pitch, $this->level);
|
return new Location($this->x, $this->y, $this->z, $this->yaw, $this->pitch, $this->level);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return float
|
||||||
|
*/
|
||||||
public function getYaw(){
|
public function getYaw(){
|
||||||
return $this->yaw;
|
return $this->yaw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return float
|
||||||
|
*/
|
||||||
public function getPitch(){
|
public function getPitch(){
|
||||||
return $this->pitch;
|
return $this->pitch;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user