mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Documented tool usage in Level::useBreakOn()
This commit is contained in:
parent
1ac08ce404
commit
b880bf13f8
@ -969,6 +969,7 @@ class Level implements ChunkManager, Metadatable{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Tries to break a block using a item, including Player time checks if available
|
* 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 Vector3 $vector
|
||||||
* @param Item &$item (if null, can break anything)
|
* @param Item &$item (if null, can break anything)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user