mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-12 12:55:21 +00:00
Level: properly mark some functions as @internal
this ensures these functions won't appear in the documentation.
This commit is contained in:
parent
af092b01e1
commit
0b7ff6f2e7
@ -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
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user