mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Declare tool harvest level as a property
This commit is contained in:
@ -752,6 +752,10 @@ class Item implements ItemIds, \JsonSerializable{
|
||||
return BlockToolType::TYPE_NONE;
|
||||
}
|
||||
|
||||
public function getBlockToolHarvestLevel() : int{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the maximum amount of damage this item can take before it breaks.
|
||||
*
|
||||
|
Reference in New Issue
Block a user