mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Declare tool harvest level as a property
This commit is contained in:
@ -39,4 +39,7 @@ class Sword extends TieredTool{
|
||||
return self::getBaseDamageFromTier($this->tier);
|
||||
}
|
||||
|
||||
public function getBlockToolHarvestLevel() : int{
|
||||
return 1;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user