Documented tool usage in Level::useBreakOn()

This commit is contained in:
Shoghi Cervantes 2014-09-20 18:25:53 +02:00
parent 1ac08ce404
commit b880bf13f8

View File

@ -969,6 +969,7 @@ class Level implements ChunkManager, Metadatable{
/**
* Tries to break a block using a item, including Player time checks if available
* It'll try to lower the durability if Item is a tool, and set it to Air if broken.
*
* @param Vector3 $vector
* @param Item &$item (if null, can break anything)