TickingChunkLoader: use native return types

This commit is contained in:
Dylan K. Taylor
2021-03-26 22:55:48 +00:00
parent cdeedbad8b
commit adbc58f326
2 changed files with 4 additions and 10 deletions

View File

@ -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();
}
}