mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
World: more minor documentation improvements
This commit is contained in:
parent
cd04a3db2e
commit
2a910c1cc2
@ -698,7 +698,7 @@ class World implements ChunkManager{
|
||||
*
|
||||
* Returns a list of players who have the target chunk within their view distance.
|
||||
*
|
||||
* @return Player[]
|
||||
* @return Player[] spl_object_id => Player
|
||||
* @phpstan-return array<int, Player>
|
||||
*/
|
||||
public function getChunkPlayers(int $chunkX, int $chunkZ) : array{
|
||||
@ -718,7 +718,7 @@ class World implements ChunkManager{
|
||||
/**
|
||||
* Returns an array of players who have the target position within their view distance.
|
||||
*
|
||||
* @return Player[]
|
||||
* @return Player[] spl_object_id => Player
|
||||
* @phpstan-return array<int, Player>
|
||||
*/
|
||||
public function getViewersForPosition(Vector3 $pos) : array{
|
||||
|
Loading…
x
Reference in New Issue
Block a user