Level: properly mark some functions as @internal

this ensures these functions won't appear in the documentation.
This commit is contained in:
Dylan K. Taylor 2019-02-01 14:33:06 +00:00
parent af092b01e1
commit 0b7ff6f2e7

View File

@ -568,7 +568,8 @@ class Level implements ChunkManager, Metadatable{
} }
/** /**
* @internal DO NOT use this from plugins, it's for internal use only. Use Server->unloadLevel() instead. * @internal
* @see Server::unloadLevel()
* *
* Unloads the current level from memory safely * Unloads the current level from memory safely
* *
@ -746,8 +747,7 @@ class Level implements ChunkManager, Metadatable{
} }
/** /**
* WARNING: Do not use this, it's only for internal use. * @internal
* Changes to this function won't be recorded on the version.
*/ */
public function checkTime(){ public function checkTime(){
if($this->stopTime){ if($this->stopTime){
@ -758,8 +758,7 @@ class Level implements ChunkManager, Metadatable{
} }
/** /**
* WARNING: Do not use this, it's only for internal use. * @internal
* Changes to this function won't be recorded on the version.
* *
* @param Player ...$targets If empty, will send to all players in the level. * @param Player ...$targets If empty, will send to all players in the level.
*/ */
@ -771,8 +770,7 @@ class Level implements ChunkManager, Metadatable{
} }
/** /**
* WARNING: Do not use this, it's only for internal use. * @internal
* Changes to this function won't be recorded on the version.
* *
* @param int $currentTick * @param int $currentTick
* *