World: fixed documentation for getHighestAdjacentPotentialBlockSkyLight()

[ci skip]
This commit is contained in:
Dylan K. Taylor 2021-04-15 21:19:58 +01:00
parent 0f14c589f7
commit ab9615fb9c
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -1318,7 +1318,7 @@ class World implements ChunkManager{
}
/**
* Returns the highest block light level available in the positions adjacent to the specified block coordinates.
* Returns the highest potential level of sky light in the positions adjacent to the specified block coordinates.
*/
public function getHighestAdjacentPotentialBlockSkyLight(int $x, int $y, int $z) : int{
return $this->getHighestAdjacentLight($x, $y, $z, \Closure::fromCallable([$this, 'getPotentialBlockSkyLightAt']));