mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Declare tool harvest level as a property
This commit is contained in:
@ -42,4 +42,8 @@ class Shears extends Tool{
|
||||
public function getBlockToolType() : int{
|
||||
return BlockToolType::TYPE_SHEARS;
|
||||
}
|
||||
|
||||
public function getBlockToolHarvestLevel() : int{
|
||||
return 1;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user