mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
TickingChunkLoader: use native return types
This commit is contained in:
@ -39,11 +39,11 @@ final class PlayerChunkLoader implements TickingChunkLoader{
|
||||
$this->currentLocation = $currentLocation;
|
||||
}
|
||||
|
||||
public function getX(){
|
||||
public function getX() : float{
|
||||
return $this->currentLocation->getFloorX();
|
||||
}
|
||||
|
||||
public function getZ(){
|
||||
public function getZ() : float{
|
||||
return $this->currentLocation->getFloorZ();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user