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