mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +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
|
||||
* 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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user