mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
phpdoc armageddon for master, pass 1
This commit is contained in:
@ -46,7 +46,6 @@ abstract class BaseWorldProvider implements WorldProvider{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return WorldData
|
||||
* @throws CorruptedWorldException
|
||||
* @throws UnsupportedWorldFormatException
|
||||
*/
|
||||
@ -56,18 +55,11 @@ abstract class BaseWorldProvider implements WorldProvider{
|
||||
return $this->path;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return WorldData
|
||||
*/
|
||||
public function getWorldData() : WorldData{
|
||||
return $this->worldData;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $chunkX
|
||||
* @param int $chunkZ
|
||||
*
|
||||
* @return Chunk|null
|
||||
* @throws CorruptedChunkException
|
||||
*/
|
||||
public function loadChunk(int $chunkX, int $chunkZ) : ?Chunk{
|
||||
@ -82,10 +74,6 @@ abstract class BaseWorldProvider implements WorldProvider{
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $chunkX
|
||||
* @param int $chunkZ
|
||||
*
|
||||
* @return Chunk|null
|
||||
* @throws CorruptedChunkException
|
||||
*/
|
||||
abstract protected function readChunk(int $chunkX, int $chunkZ) : ?Chunk;
|
||||
|
Reference in New Issue
Block a user