mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-11 12:27:51 +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 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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user