Added some documentation

This commit is contained in:
Dylan K. Taylor
2017-08-22 10:28:43 +01:00
parent c32b75fa18
commit 8a35b9da29
4 changed files with 23 additions and 3 deletions

View File

@ -43,7 +43,9 @@ use pocketmine\plugin\Plugin;
class Block extends Position implements BlockIds, Metadatable{
/**
* @deprecated This functionality has moved to {@link BlockFactory#get}
* Returns a new Block instance with the specified ID, meta and position.
*
* This function redirects to {@link BlockFactory#get}.
*
* @param int $id
* @param int $meta