Added missing properties for several blocks

This commit is contained in:
Dylan K. Taylor
2017-12-13 16:28:21 +00:00
parent 717b36a983
commit 6e30d23254
15 changed files with 113 additions and 0 deletions

View File

@ -23,6 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block;
use pocketmine\item\TieredTool;
use pocketmine\math\AxisAlignedBB;
use pocketmine\math\Vector3;
@ -40,6 +41,10 @@ class CobblestoneWall extends Transparent{
return BlockToolType::TYPE_PICKAXE;
}
public function getToolHarvestLevel() : int{
return TieredTool::TIER_WOODEN;
}
public function getHardness() : float{
return 2;
}